more changes and linking

This commit is contained in:
2025-09-13 02:47:53 +02:00
parent 9de85b6e37
commit 4160202cdc
4 changed files with 11 additions and 17 deletions

View File

@@ -182,12 +182,8 @@ async fn safe_main() -> anyhow::Result<()> {
.or_else(|err| {
info!("rtc module error: {:?}", err);
board.board_hal.general_fault(true);
board.board_hal.get_esp().time()
})
.map_err(|err| -> Result<(), _> {
bail!("time error {}", err);
})
.unwrap();
anyhow::Ok(board.board_hal.get_esp().time())
})?;
//check if we know the time current > 2020 (plausibility checks, this code is newer than 2020)
if cur.year() < 2020 {