Skip to content

Commit

Permalink
add trim setting to ranging radio test
Browse files Browse the repository at this point in the history
  • Loading branch information
corruptbear committed Aug 9, 2023
1 parent 9e34601 commit 0ff4113
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions software/firmware/tests/peripherals/test_ranging_radio.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ int main(void)
system_enable_interrupts(true);
system_read_UID(eui, EUI_LEN);
ranging_radio_init(eui);
dwt_setxtaltrim(40);
ranging_radio_register_callbacks(tx_callback, rx_done_callback, rx_error_callback, rx_error_callback);

// Loop forever running whichever test is uncommented
Expand All @@ -104,8 +105,8 @@ int main(void)
//reset_test();
//regular_sleep_test();
//deep_sleep_test();
//delayed_write_test();
read_test();
delayed_write_test();
//read_test();
}

// Should never reach this point
Expand Down

0 comments on commit 0ff4113

Please sign in to comment.