Skip to content

Commit d4bd4ec

Browse files
committed
Let isConfigured only return the actual _configured flag
1 parent b6548f1 commit d4bd4ec

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/RTCZero.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ class RTCZero {
9898
void setAlarmEpoch(uint32_t ts);
9999

100100
bool isConfigured() {
101-
_configured = RTC->MODE2.CTRL.reg & RTC_MODE2_CTRL_ENABLE;
102-
configureClock();
103101
return _configured;
104102
}
105103

0 commit comments

Comments
 (0)