Skip to content

Commit b23e287

Browse files
committed
RMT fixed
1 parent 5e33ded commit b23e287

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hil-test/tests/rmt.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ mod tests {
106106

107107
let rx_transaction = rx_channel.receive(&mut rcv_data).unwrap();
108108
let tx_transaction = tx_channel.transmit(&tx_data);
109-
tx_transaction.wait().unwrap();
110109

111-
rx_transaction.wait().unwrap(); // HERE ESP32 hangs
110+
rx_transaction.wait().unwrap();
111+
tx_transaction.wait().unwrap();
112112

113-
// the last two pulse-codes are the ones which wait for the timeout so they
114-
// can't be equal
113+
// the last two pulse-codes are the ones which wait for the timeout so
114+
// they can't be equal
115115
assert_eq!(&tx_data[..18], &rcv_data[..18]);
116116
}
117117
}

0 commit comments

Comments
 (0)