Skip to content

Commit d655d79

Browse files
committed
Explicitly show Epoch calculations will be wrong if ZED not compiled.
Removing this function causes other platforms to set the RTC incorrectly.
1 parent d5bc3e3 commit d655d79

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Firmware/RTK_Everywhere/Developer.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ uint8_t aStatus = SFE_UBLOX_ANTENNA_STATUS_DONTKNOW;
261261

262262
// void checkRXMCOR() {}
263263
// void pushRXMPMP() {}
264-
void convertGnssTimeToEpoch(uint32_t *epochSecs, uint32_t *epochMicros) {}
264+
void convertGnssTimeToEpoch(uint32_t *epochSecs, uint32_t *epochMicros) {
265+
systemPrintln("**Epoch not compiled** ZED not included so time will be invalid");
266+
}
265267

266268
#endif // COMPILE_ZED

0 commit comments

Comments
 (0)