Skip to content

Commit 0dd276b

Browse files
committed
c formatting
1 parent 286b1a5 commit 0dd276b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/atmel-samd/common-hal/alarm/__init__.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ mp_obj_t common_hal_alarm_light_sleep_until_alarms(size_t n_alarms, const mp_obj
153153
PM->STDBYCFG.reg = PM_STDBYCFG_RAMCFG_OFF;
154154
// Set-up Sleep Mode
155155
PM->SLEEPCFG.reg = PM_SLEEPCFG_SLEEPMODE_STANDBY;
156-
while(PM->SLEEPCFG.bit.SLEEPMODE != PM_SLEEPCFG_SLEEPMODE_STANDBY_Val) {
156+
while (PM->SLEEPCFG.bit.SLEEPMODE != PM_SLEEPCFG_SLEEPMODE_STANDBY_Val) {
157157
;
158158
}
159159

@@ -239,7 +239,7 @@ void NORETURN common_hal_alarm_enter_deep_sleep(void) {
239239
RTC_MODE0_CTRLA_MODE_COUNT32; // Set RTC to mode 0, 32-bit timer
240240

241241
RTC->MODE0.COMP[1].reg = (_target/1024) * 32;
242-
while(RTC->MODE0.SYNCBUSY.reg) {
242+
while (RTC->MODE0.SYNCBUSY.reg) {
243243
;
244244
}
245245

0 commit comments

Comments
 (0)