Skip to content

Commit ab3cda4

Browse files
committed
fix formatting
1 parent 37afc01 commit ab3cda4

File tree

1 file changed

+5
-2
lines changed
  • libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L4

1 file changed

+5
-2
lines changed

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L4/rtc_api.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,11 @@ int rtc_isenabled(void)
147147
#if DEVICE_RTC_LSI
148148
return rtc_inited;
149149
#else
150-
if ((RTC->ISR & RTC_ISR_INITS) == RTC_ISR_INITS) return 1;
151-
else return 0;
150+
if ((RTC->ISR & RTC_ISR_INITS) == RTC_ISR_INITS) {
151+
return 1;
152+
} else {
153+
return 0;
154+
}
152155
#endif
153156
}
154157

0 commit comments

Comments
 (0)