mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-10-23 12:12:46 +00:00
port seeed solar p1 + gps command fixes
This commit is contained in:
1 parent
ee0892831f
commit
a716d2478f
18 files changed
+483
-11
No files matched your search
@@ -888,11 +888,7 @@ void CommonCLI::handleCommand(uint32_t sender_timestamp, const char* command, ch
|
||||
strcpy(reply, "error");
|
||||
}
|
||||
} else if (memcmp(command, "gps", 3) == 0) {
|
||||
if (_callbacks->isGpsEnabled()) {
|
||||
strcpy(reply, "on");
|
||||
} else {
|
||||
strcpy(reply, "off");
|
||||
}
|
||||
_callbacks->formatGpsStatsReply(reply);
|
||||
} else if (memcmp(command, "powersaving", 11) == 0) {
|
||||
strcpy(reply, "Not implemented");
|
||||
} else if (memcmp(command, "log start", 9) == 0) {
|
||||
|
||||
Reference in new issue
Block a user