This commit is contained in:
Sebastien Bourdeauducq 2017-02-25 12:06:12 +08:00
parent 360be0098f
commit 7d568b4bac

View File

@ -62,7 +62,7 @@ fn process_aux_packet(p: &drtioaux::Packet) {
fn process_aux_packets() { fn process_aux_packets() {
let pr = drtioaux::hw::recv(); let pr = drtioaux::hw::recv();
match pr { match pr {
Ok(None) => {}, Ok(None) => (),
Ok(Some(p)) => process_aux_packet(&p), Ok(Some(p)) => process_aux_packet(&p),
Err(e) => warn!("aux packet error ({})", e) Err(e) => warn!("aux packet error ({})", e)
} }