diff options
Diffstat (limited to 'src/main.rs')
-rwxr-xr-x | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index a711398..48fffea 100755 --- a/src/main.rs +++ b/src/main.rs @@ -54,13 +54,13 @@ fn main(_hartid: usize) -> ! { &mut rcu, ); let (tx, _rx) = serial.split(); - log::new(tx); + unsafe { log::new(tx) }; loop { let mut can_sleep = true; can_sleep &= blink.poll() == PollResult::WouldBlock; - log::log("hi\r\n"); + unsafe { log::log("hi\r\n") }; if can_sleep { unsafe { wfi() }; |