log: call create_server syscall

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2020-03-14 15:58:22 +08:00
parent 5a1bcf4c21
commit 4cd6a5d64d

View file

@ -70,6 +70,8 @@ fn main() {
println!("Unexpected return value: {:?}", heap);
}
let server_addr = xous::syscall::create_server().expect("couldn't create server");
loop {
println!("Waiting for an event...");
xous::rsyscall(xous::SysCall::WaitEvent).expect("Couldn't call waitevent");