Fixes rtc playground example
This commit is contained in:
parent
e4bc5cc1f4
commit
41690a7198
1 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
#define LED_PIN 3
|
||||
|
||||
// Seconds between RTC COMPARE0 events.
|
||||
#define COMPARE_COUNTERTIME \ (1UL)
|
||||
#define COMPARE_COUNTERTIME (1UL)
|
||||
|
||||
const nrf_drv_rtc_t rtc = NRF_DRV_RTC_INSTANCE(0);
|
||||
|
||||
|
|
@ -64,6 +64,7 @@ int main(void) {
|
|||
|
||||
rtc_config();
|
||||
|
||||
// NRF_POWER->SYSTEMOFF = 1;
|
||||
while (true) {
|
||||
__SEV();
|
||||
__WFE();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue