aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rwxr-xr-xsrc/main.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 2b0bde2..7fd2ba3 100755
--- a/src/main.rs
+++ b/src/main.rs
@@ -54,13 +54,14 @@ fn main(_hartid: usize) -> ! {
&mut rcu,
);
let (tx, _rx) = serial.split();
- unsafe { log::new(tx) };
+ log::init(tx);
loop {
let mut can_sleep = true;
can_sleep &= blink.poll() == PollResult::WouldBlock;
- unsafe { log::log("hi\r\n") };
+ log!("yo!");
+ logln!(" mtv raps");
if can_sleep {
unsafe { wfi() };