docs: gps duty vs upstream gps period; advert.loc, not "set loc"

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-12 09:27:26 +01:00
1 parent 8d0b0dd164
commit 84e4136a84
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -535,7 +535,7 @@ void CommonCLI::handleCommand(uint32_t sender_timestamp, char* command, char* re
} else if (memcmp(command, "gps duty", 8) == 0) {
// Power GPS only around a clock sync. For a node that runs GPS purely for
// the (volatile) RTC this is the same service at a fraction of the power;
// position keeps coming from prefs, see `set loc`. Duty owns the cadence,
// position keeps coming from prefs, see `set advert.loc`. Duty owns the cadence,
// so a `gps period` left over would fight it.
if (_sensors->setSettingValue("gps", "2")) {
_prefs->getGpsPrefs()->setGpsPeriod(*_sensors, 0);