mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
fix for set_custom_var
This commit is contained in:
parent
fb5fcae614
commit
a39c000f5d
3 changed files with 5 additions and 4 deletions
|
|
@ -1499,6 +1499,7 @@ public:
|
|||
}
|
||||
_serial->writeFrame(out_frame, dp - (char *)out_frame);
|
||||
} else if (cmd_frame[0] == CMD_SET_CUSTOM_VAR && len >= 4) {
|
||||
cmd_frame[len] = 0;
|
||||
char* sp = (char *) &cmd_frame[1];
|
||||
char* np = strchr(sp, ':'); // look for separator char
|
||||
if (np) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue