Skip to content

Commit

Permalink
Merge remote-tracking branch 'ewowi/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
ewoudwijma committed Jun 1, 2024
2 parents ab3e137 + 8374737 commit abdbdc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ lib_deps =
build_flags =
; -D APP=StarBase
-D PIOENV=$PIOENV
-D VERSION=24053018 ; Date and time (GMT!), update at every commit!!
-D VERSION=24060110 ; Date and time (GMT!), update at every commit!!
-D CONFIG_ASYNC_TCP_USE_WDT=0
-D LFS_THREADSAFE ; enables use of semaphores in LittleFS driver
-D STARBASE_DEVMODE
Expand Down
9 changes: 5 additions & 4 deletions src/Sys/SysModInstances.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,11 @@ class SysModInstances:public SysModule {
case f_UIFun:
ui->setLabel(var, "Name");
return true;
case f_ChangeFun:
strcpy(instances[rowNr].name, mdl->getValue(var, rowNr));
sendMessageUDP(instances[rowNr].ip, "name", mdl->getValue(var, rowNr));
return true;
// comment this out for the time being as causes corrupted instance names
// case f_ChangeFun:
// strcpy(instances[rowNr].name, mdl->getValue(var, rowNr));
// sendMessageUDP(instances[rowNr].ip, "name", mdl->getValue(var, rowNr));
// return true;
default: return false;
}});

Expand Down

0 comments on commit abdbdc1

Please sign in to comment.