mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
more cleanup on usb crate
This commit is contained in:
parent
1b5eacdb68
commit
6e4eec99a3
2 changed files with 1 additions and 2 deletions
|
|
@ -147,7 +147,6 @@ impl TryFrom<usize> for UsbDeviceType {
|
|||
}
|
||||
}
|
||||
|
||||
pub const SERIAL_ASCII_BUFLEN: usize = 512;
|
||||
pub const SERIAL_BINARY_BUFLEN: usize = 128;
|
||||
#[derive(Debug, rkyv::Archive, rkyv::Serialize, rkyv::Deserialize, Clone)]
|
||||
pub struct UsbSerialAscii {
|
||||
|
|
|
|||
|
|
@ -1891,7 +1891,7 @@ pub(crate) fn main_hw() -> ! {
|
|||
match xns.request_connection_blocking(ur.server_name.as_str()) {
|
||||
Ok(cid) => {
|
||||
observer_conn = Some(cid);
|
||||
observer_op = Some(ur.listener_op_id as usize);
|
||||
observer_op = Some(<u32 as From<u32>>::from(ur.listener_op_id.into()) as usize);
|
||||
}
|
||||
Err(e) => {
|
||||
log::error!("couldn't connect to observer: {:?}", e);
|
||||
|
|
|
|||
Loading…
Reference in a new issue