Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 379e73a commit 2bc40bcCopy full SHA for 2bc40bc
ports/atmel-samd/supervisor/port.c
@@ -98,8 +98,7 @@ volatile bool hold_interrupt = false;
98
#ifdef SAMD21
99
static void rtc_set_continuous(bool continuous) {
100
while (RTC->MODE0.STATUS.bit.SYNCBUSY);
101
- // TODO: DaveP: Do we need the RREQ here?
102
- RTC->MODE0.READREQ.reg = RTC_READREQ_RREQ | (continuous ? RTC_READREQ_RCONT : 0) | 0x0010;
+ RTC->MODE0.READREQ.reg = (continuous ? RTC_READREQ_RCONT : 0) | 0x0010;
103
104
}
105
0 commit comments