minor tweak for simple UART example
This commit is contained in:
parent
d419325312
commit
8cdee8b733
@ -45,9 +45,6 @@ fn main() -> ! {
|
|||||||
.expect("TX send error");
|
.expect("TX send error");
|
||||||
}
|
}
|
||||||
Err(nb::Error::WouldBlock) => (),
|
Err(nb::Error::WouldBlock) => (),
|
||||||
Err(nb::Error::Other(uart_error)) => {
|
|
||||||
rprintln!("UART receive error {:?}", uart_error);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user