File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11/* Copyright (c) Microsoft Corporation.
22 Licensed under the MIT License. */
33
4+ #include "tx_api.h"
45#include "board_init.h"
56
67#include "r_cmt_rx_if.h"
@@ -29,7 +30,7 @@ void board_init()
2930 R_Config_SCI8_Start ();
3031
3132 // Create periodic timer for the system tick
32- R_CMT_CreatePeriodic (100u , timer_callback , & chan );
33+ R_CMT_CreatePeriodic (TX_TIMER_TICKS_PER_SECOND , timer_callback , & chan );
3334
3435 // Setup Ethernet hardware
3536 R_ETHER_Initial ();
Original file line number Diff line number Diff line change 11/* Copyright (c) Microsoft Corporation.
22 Licensed under the MIT License. */
33
4+ #include "tx_api.h"
45#include "board_init.h"
56
67#include "r_cmt_rx_if.h"
@@ -26,7 +27,7 @@ void board_init()
2627 R_Config_SCI5_Start ();
2728
2829 // Create periodic timer for the system tick
29- R_CMT_CreatePeriodic (100u , timer_callback , & chan );
30+ R_CMT_CreatePeriodic (TX_TIMER_TICKS_PER_SECOND , timer_callback , & chan );
3031
3132 // Initialize the Option Board sensors
3233 init_sensors ();
You can’t perform that action at this time.
0 commit comments