Mailbox command implementation via macros

This commit is contained in:
2025-08-30 20:12:47 +02:00
parent cc9cf94f5e
commit 31d52e2441
2 changed files with 47 additions and 26 deletions

View File

@@ -123,8 +123,8 @@ pub extern "C" fn kernel_main() -> ! {
fb.draw_function(cos, 100, 105, BLUE);
loop {
let temp = read_soc_temp();
println!("{} °C", temp);
let temp = read_soc_temp([0]);
println!("{} °C", temp[1] / 1000);
blink_gpio(SpecificGpio::OnboardLed as u8, 500);
}