1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-21 17:40:54 +00:00

pointers can always be be casted to long

This commit is contained in:
David Gauchard 2023-01-17 14:53:02 +01:00
parent 5cf0ce6afa
commit cc69f8a469
4 changed files with 4 additions and 4 deletions

View File

@ -57,7 +57,7 @@ void buttonCallback(Control* sender, int type)
void buttonExample(Control* sender, int type, void* param)
{
Serial.println(String("param: ") + String(int(param)));
Serial.println(String("param: ") + String(long(param)));
switch (type)
{
case B_DOWN:

View File

@ -62,7 +62,7 @@ void buttonCallback(Control* sender, int type)
void buttonExample(Control* sender, int type, void* param)
{
Serial.println(String("param: ") + String(int(param)));
Serial.println(String("param: ") + String(long(param)));
switch (type)
{
case B_DOWN:

View File

@ -56,7 +56,7 @@ void buttonCallback(Control* sender, int type)
void buttonExample(Control* sender, int type, void* param)
{
Serial.println(String("param: ") + String(int(param)));
Serial.println(String("param: ") + String(long(param)));
switch (type)
{
case B_DOWN:

View File

@ -62,7 +62,7 @@ void buttonCallback(Control* sender, int type)
void buttonExample(Control* sender, int type, void* param)
{
Serial.println(String("param: ") + String(int(param)));
Serial.println(String("param: ") + String(long(param)));
switch (type)
{
case B_DOWN: