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

more minor changes for #249

This commit is contained in:
David Gauchard 2023-09-06 22:50:42 +02:00
parent 68c251226d
commit 03c30fa75c
4 changed files with 8 additions and 4 deletions

View File

@ -396,7 +396,8 @@ void extendedCallback(Control* sender, int type, void* param)
Serial.print(sender->label);
Serial.print("' = ");
Serial.println(sender->value);
Serial.println(String("param = ") + String((long)param));
Serial.print("param = ");
Serial.println((long)param);
}
void setup() {

View File

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

View File

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

View File

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