real last commit, make sure rtc was not stopped

This commit is contained in:
2026-01-16 23:38:02 +01:00
parent 1626733faf
commit d1a8a50a8c

View File

@@ -107,6 +107,10 @@ bool init_rtc() {
writeToModule(0x1F, 0); // Unset stop bit
return true;
}
if(readFromModule(0x1F) & 64) {
writeToModule(0x1F, 0);
return true;
}
sync_from_rx_rtc();
return false;
}