Skip to content

Commit be52db9

Browse files
committed
Removed unnecessary setting of RTC_READREQ_ADDR(0x10)
1 parent 08c1b31 commit be52db9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RTCZero.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ void RTCZero::config32kOSC()
369369

370370
/* Synchronise the CLOCK register for reading*/
371371
inline void RTCZero::RTCreadRequest() {
372-
RTC->MODE2.READREQ.reg = RTC_READREQ_RREQ | RTC_READREQ_ADDR(0x10);
372+
RTC->MODE2.READREQ.reg = RTC_READREQ_RREQ;
373373
while (RTCisSyncing())
374374
;
375375
}

0 commit comments

Comments
 (0)