mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Merge pull request #1841 from weebl2000/nit-prefs
prefs is 5 char length :nerd:
This commit is contained in:
commit
cdd3d5f34e
1 changed files with 1 additions and 1 deletions
|
|
@ -749,7 +749,7 @@ void CommonCLI::handleCommand(uint32_t sender_timestamp, const char* command, ch
|
||||||
_prefs->advert_loc_policy = ADVERT_LOC_SHARE;
|
_prefs->advert_loc_policy = ADVERT_LOC_SHARE;
|
||||||
savePrefs();
|
savePrefs();
|
||||||
strcpy(reply, "ok");
|
strcpy(reply, "ok");
|
||||||
} else if (memcmp(command+11, "prefs", 4) == 0) {
|
} else if (memcmp(command+11, "prefs", 5) == 0) {
|
||||||
_prefs->advert_loc_policy = ADVERT_LOC_PREFS;
|
_prefs->advert_loc_policy = ADVERT_LOC_PREFS;
|
||||||
savePrefs();
|
savePrefs();
|
||||||
strcpy(reply, "ok");
|
strcpy(reply, "ok");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue