File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ void onReceive_cb(void) {
5252void setUp (void ) {
5353 log_v (" Setting up next test" );
5454 Serial1.setPins (uart1_rx_pin, uart1_tx_pin);
55- uart_internal_loopback (1 , RX1 );
55+ uart_internal_loopback (1 , uart1_rx_pin );
5656 delay (100 );
5757 log_v (" Running test" );
5858}
@@ -66,7 +66,7 @@ void tearDown(void) {
6666 Serial1.flush ();
6767
6868 Serial1.setPins (uart1_rx_pin, uart1_tx_pin);
69- uart_internal_loopback (1 , RX1 );
69+ uart_internal_loopback (1 , uart1_rx_pin );
7070 delay (100 );
7171 test_executed = false ;
7272 }
@@ -234,7 +234,7 @@ void setup() {
234234 Serial1.begin (115200 );
235235 while (!Serial1) { delay (10 ); }
236236 Serial1.onReceive (onReceive_cb);
237- uart_internal_loopback (1 , RX1 );
237+ uart_internal_loopback (1 , uart1_rx_pin );
238238
239239 UNITY_BEGIN ();
240240
You can’t perform that action at this time.
0 commit comments