1
0
Fork 0

Whoops! Don't look at this XD

This commit is contained in:
Samuel Archibald 2020-11-19 15:47:27 -05:00
parent 681182d16a
commit e18485c92b

View file

@ -193,7 +193,7 @@ void SystemTask::Work() {
monitor.Process(); monitor.Process();
uint32_t systick_counter = nrf_rtc_counter_get(portNRF_RTC_REG); uint32_t systick_counter = nrf_rtc_counter_get(portNRF_RTC_REG);
dateTimeController.UpdateTime(nrf_rtc_counter_get(systick_counter); dateTimeController.UpdateTime(nrf_rtc_counter_get(systick_counter));
if(!nrf_gpio_pin_read(pinButton)) if(!nrf_gpio_pin_read(pinButton))
watchdog.Kick(); watchdog.Kick();
} }