Skip to content

Commit

Permalink
increase the tx frequency to 2/s
Browse files Browse the repository at this point in the history
  • Loading branch information
corruptbear committed Aug 18, 2023
1 parent e20b8ec commit 93423a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions software/firmware/tests/peripherals/test_ranging_radio.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ void delayed_write_test(uint8_t antenna, uint8_t channel)
assert(dwt_writetxdata(packet_size, (uint8_t*)&packet, 0) == DWT_SUCCESS);
assert(dwt_starttx(DWT_START_TX_DELAYED) == DWT_SUCCESS);

// Sleep for 5 seconds
am_hal_delay_us(5000000);
// Sleep for 2 seconds
am_hal_delay_us(2000000);
}

void read_test(uint8_t antenna, uint8_t channel)
Expand Down Expand Up @@ -105,8 +105,8 @@ int main(void)
//reset_test();
//regular_sleep_test();
//deep_sleep_test();
delayed_write_test(0,5);
//read_test();
//delayed_write_test(0,5);
read_test(0,9);
}

// Should never reach this point
Expand Down

0 comments on commit 93423a6

Please sign in to comment.