1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-12-25 04:00:49 +00:00

Merge pull request #218 from d-a-v/ptr2long

pointers can always be casted to long
This commit is contained in:
Lukas Bachschwell 2023-05-13 15:53:59 +02:00 committed by GitHub
commit 270f0dd16b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: