mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
add some code to remind myself about certain guarantees
This commit is contained in:
parent
a105bcb73c
commit
5d596c2e00
1 changed files with 1 additions and 0 deletions
|
|
@ -281,6 +281,7 @@ fn reader_thread(arg: usize) {
|
|||
},
|
||||
#[cfg(feature="usb")]
|
||||
5 /* api::Opcode::UnhookUsbMirror */ => {
|
||||
// Note: this routine should be coded so that it is never harmful if unhook is called in an already unhooked state.
|
||||
usb_serial.take();
|
||||
xous::return_scalar(envelope.sender, 1).ok();
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue