real last commit, make sure rtc was not stopped
This commit is contained in:
@@ -107,6 +107,10 @@ bool init_rtc() {
|
|||||||
writeToModule(0x1F, 0); // Unset stop bit
|
writeToModule(0x1F, 0); // Unset stop bit
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if(readFromModule(0x1F) & 64) {
|
||||||
|
writeToModule(0x1F, 0);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
sync_from_rx_rtc();
|
sync_from_rx_rtc();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user