mirror of
https://github.com/s00500/ESPUI.git
synced 2025-06-12 09:20:39 +00:00
pointers can always be be casted to long
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user