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 0dd276b commit 6811c5eCopy full SHA for 6811c5e
ports/atmel-samd/common-hal/alarm/__init__.c
@@ -238,7 +238,7 @@ void NORETURN common_hal_alarm_enter_deep_sleep(void) {
238
RTC->MODE0.CTRLA.reg = RTC_MODE0_CTRLA_PRESCALER_DIV1024 | // Set prescaler to 1024
239
RTC_MODE0_CTRLA_MODE_COUNT32; // Set RTC to mode 0, 32-bit timer
240
241
- RTC->MODE0.COMP[1].reg = (_target/1024) * 32;
+ RTC->MODE0.COMP[1].reg = (_target / 1024) * 32;
242
while (RTC->MODE0.SYNCBUSY.reg) {
243
;
244
}
0 commit comments