mirror of
https://github.com/apache/nuttx.git
synced 2026-10-08 23:05:20 +00:00
nrf52_rtc.c: fix checkint function
This commit is contained in:
parent
31057ec81b
commit
13695ca1e1
1 changed files with 1 additions and 1 deletions
|
|
@ -570,7 +570,7 @@ static int nrf52_rtc_checkint(FAR struct nrf52_rtc_dev_s *dev, uint8_t s)
|
|||
|
||||
case NRF52_RTC_EVT_COMPARE1:
|
||||
{
|
||||
ret = nrf52_rtc_getreg(dev, NRF52_RTC_EVENTS_COMPARE_OFFSET(0));
|
||||
ret = nrf52_rtc_getreg(dev, NRF52_RTC_EVENTS_COMPARE_OFFSET(1));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue