error handling

This commit is contained in:
2025-09-13 15:02:15 +02:00
parent 31d52e2441
commit 981a6cd65c
6 changed files with 22 additions and 14 deletions

View File

@@ -3,7 +3,7 @@ use crate::mmio_read;
const TIMER_CLO: u32 = 0x3F00_3004;
fn read_clo() -> u32 {
return mmio_read(TIMER_CLO);
mmio_read(TIMER_CLO)
}
/// Sleep for `us` microseconds