We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 264c194 commit 53631dcCopy full SHA for 53631dc
Firmware/RTK_Everywhere/MQTT_Client.ino
@@ -463,9 +463,10 @@ void mqttClientReceiveMessage(int messageSize)
463
settings.pointPerfectNextKeyDuration =
464
(1000LL * 60 * 60 * 24 * 28) - 1; // Assume next key duration is 28 days
465
466
- settings.lastKeyAttempt = rtc.getEpoch(); // Mark it
467
-
468
- recordSystemSettings(); // Record these settings to unit
+ if (online.rtc)
+ settings.lastKeyAttempt = rtc.getEpoch(); // Mark it - but only if RTC is online
+
469
+ recordSystemSettings(); // Record these settings to unit
470
471
if (settings.debugCorrections == true)
472
pointperfectPrintKeyInformation();
0 commit comments