We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6715c6f commit 39135c1Copy full SHA for 39135c1
chips/cc26xx/src/uart.rs
@@ -107,7 +107,7 @@ impl UART {
107
}
108
109
self.tx_pin.map_or(ReturnCode::EOFF, |tx_pin| {
110
- self.tx_pin.map_or(ReturnCode::EOFF, |rx_pin| {
+ self.rx_pin.map_or(ReturnCode::EOFF, |rx_pin| {
111
unsafe {
112
// Make sure the TX pin is output/high before assigning it to UART control
113
// to avoid falling edge glitches
0 commit comments