Skip to content

Commit

Permalink
Fix pins
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasssvaz committed Dec 4, 2023
1 parent fc085f3 commit c8db2cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/periman/periman.ino
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void onReceive_cb(void) {
void setUp(void) {
log_v("Setting up next test");
Serial1.setPins(uart1_rx_pin, uart1_tx_pin);
uart_internal_loopback(1, RX1);
uart_internal_loopback(1, uart1_rx_pin);
delay(100);
log_v("Running test");
}
Expand All @@ -66,7 +66,7 @@ void tearDown(void) {
Serial1.flush();

Serial1.setPins(uart1_rx_pin, uart1_tx_pin);
uart_internal_loopback(1, RX1);
uart_internal_loopback(1, uart1_rx_pin);
delay(100);
test_executed = false;
}
Expand Down Expand Up @@ -234,7 +234,7 @@ void setup() {
Serial1.begin(115200);
while(!Serial1) { delay(10); }
Serial1.onReceive(onReceive_cb);
uart_internal_loopback(1, RX1);
uart_internal_loopback(1, uart1_rx_pin);

UNITY_BEGIN();

Expand Down

0 comments on commit c8db2cb

Please sign in to comment.