mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
local echo on cram target for console
This commit is contained in:
parent
0967d686cf
commit
2a0b18884b
1 changed files with 1 additions and 0 deletions
|
|
@ -97,6 +97,7 @@ fn uart_handler(_irq_no: usize, _arg: *mut usize) {
|
|||
}
|
||||
}
|
||||
if unsafe { KBD_CONN != 0 } {
|
||||
print!("{}", char::from_u32(c as u32).unwrap_or('.')); // local echo
|
||||
xous::try_send_message(unsafe { KBD_CONN }, xous::Message::new_scalar(0, c as usize, 0, 0, 0))
|
||||
.ok();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue