split the wakeup now, properly working

This commit is contained in:
Priec
2025-12-03 16:52:30 +01:00
parent 9be1d514fb
commit 33543099c2
4 changed files with 53 additions and 25 deletions

View File

@@ -1 +1,13 @@
// src/sleep/standby.rs
pub fn enter_standby() -> ! {
unsafe extern "C" {
fn HAL_PWR_EnterSTANDBYMode();
}
unsafe {
HAL_PWR_EnterSTANDBYMode();
}
cortex_m::asm::udf(); // never happen marker
}