forked from M-Labs/artiq
1
0
Fork 0
This commit is contained in:
Sebastien Bourdeauducq 2017-02-25 12:06:12 +08:00
parent 360be0098f
commit 7d568b4bac
1 changed files with 1 additions and 1 deletions

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)
} }