mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
examples: log: use name when creating server
The create_server call now takes a name. Provide this name. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
022bedc8e3
commit
1730cb377b
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ fn main() {
|
|||
println!("Unexpected return value: {:?}", heap);
|
||||
}
|
||||
|
||||
let server_addr = xous::syscall::create_server().expect("couldn't create server");
|
||||
let server_addr = xous::syscall::create_server(xous::make_name!("📜")).expect("couldn't create server");
|
||||
|
||||
loop {
|
||||
println!("Waiting for an event...");
|
||||
|
|
|
|||
Loading…
Reference in a new issue