mirror of
https://github.com/iceHtwoO/novaOS.git
synced 2026-04-17 04:32:27 +00:00
Mailbox command implementation via macros
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user