arch/nrf52/nrf52_tickless_rtc.c: check configuration
This commit is contained in:
parent
38631bd560
commit
33b19e967c
@ -41,6 +41,12 @@
|
|||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
/* Check configuration */
|
||||||
|
|
||||||
|
#ifdef CONFIG_TIMER_ARCH
|
||||||
|
# error CONFIG_TIMER_ARCH must be not set
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Check corresponding RTC support */
|
/* Check corresponding RTC support */
|
||||||
|
|
||||||
#if (CONFIG_NRF52_SYSTIMER_RTC_INSTANCE == 0) && !defined(CONFIG_NRF52_RTC0)
|
#if (CONFIG_NRF52_SYSTIMER_RTC_INSTANCE == 0) && !defined(CONFIG_NRF52_RTC0)
|
||||||
|
Loading…
Reference in New Issue
Block a user