This commit is contained in:
Logan McNaughton 2023-10-11 12:23:14 -06:00
parent 010e0f3fd8
commit 8fd7bef85d
2 changed files with 3 additions and 4 deletions

View File

@ -49,7 +49,7 @@ pub fn process(device: &mut device::Device, channel: usize) {
device.pif.channels[channel].tx_buf.unwrap() + 3,
device.pif.channels[channel].rx_buf.unwrap(),
),
_ => panic!("unknown controller command"),
_ => println!("unknown controller command {}", cmd),
}
}

View File

@ -150,9 +150,8 @@ pub fn setup_channels_format(device: &mut device::Device) {
0xfd => {
/* channel reset - send reset command and discard the results */
{
panic!("channel reset")
}
k += 1;
i += 1;
}
_ => {