gps sync reply: fill buffer with text

此提交包含在:
enricolorenzoni59
2026-02-28 09:07:30 +00:00
父節點 eee42c5099
當前提交 8ad17d1022
+3
查看文件
@@ -717,6 +717,9 @@ void CommonCLI::handleCommand(uint32_t sender_timestamp, const char* command, ch
LocationProvider * l = _sensors->getLocationProvider();
if (l != NULL) {
l->syncTime();
strcpy(reply, "ok");
} else {
strcpy(reply, "gps provider not found");
}
} else if (memcmp(command, "gps setloc", 10) == 0) {
_prefs->node_lat = _sensors->node_lat;