Use RTC1 as default system ticks as PPI has pre-programmed channels for RTC0
This commit is contained in:
parent
5259158d17
commit
e0d39de32f
|
@ -41,23 +41,15 @@
|
|||
* @brief Use RTC0 to generates system ticks
|
||||
*/
|
||||
#if !defined(NRF5_ST_USE_RTC0) || defined(__DOXYGEN__)
|
||||
#if !defined(SOFTDEVICE_PRESENT)
|
||||
#define NRF5_ST_USE_RTC0 TRUE
|
||||
#else
|
||||
#define NRF5_ST_USE_RTC0 FALSE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Use RTC1 to generates system ticks
|
||||
*/
|
||||
#if !defined(NRF5_ST_USE_RTC1) || defined(__DOXYGEN__)
|
||||
#if !defined(SOFTDEVICE_PRESENT)
|
||||
#define NRF5_ST_USE_RTC1 FALSE
|
||||
#else
|
||||
#define NRF5_ST_USE_RTC1 TRUE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Use TIMER0 to generates system ticks
|
||||
|
|
Loading…
Reference in New Issue