mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
graphics-server: comment out println (for now)
When building for bare metal hardware, we don't yet have println. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
cdc9cc71d3
commit
f2156b19bd
1 changed files with 3 additions and 3 deletions
|
|
@ -76,12 +76,12 @@ fn xmain() -> ! {
|
|||
let mut current_style = PrimitiveStyle::with_fill(BinaryColor::Off);
|
||||
|
||||
let sid = xous::create_server(b"graphics-server ").unwrap();
|
||||
println!("GFX: Server listening on address {:?}", sid);
|
||||
// println!("GFX: Server listening on address {:?}", sid);
|
||||
loop {
|
||||
let msg = xous::receive_message(sid).unwrap();
|
||||
// println!("GFX: Message: {:?}", msg);
|
||||
if let Ok(opcode) = Opcode::try_from(&msg.body) {
|
||||
println!("GFX: Opcode: {:?}", opcode);
|
||||
// println!("GFX: Opcode: {:?}", opcode);
|
||||
match opcode {
|
||||
Opcode::Flush => {
|
||||
display.update();
|
||||
|
|
@ -134,7 +134,7 @@ fn xmain() -> ! {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
println!("Couldn't convert opcode");
|
||||
// println!("Couldn't convert opcode");
|
||||
}
|
||||
display.update();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue