fix formatting

pull/1558/head
dbestm 2016-02-22 14:28:20 +01:00
parent 37afc01c39
commit ab3cda47b9
1 changed files with 5 additions and 2 deletions

View File

@ -147,8 +147,11 @@ int rtc_isenabled(void)
#if DEVICE_RTC_LSI
return rtc_inited;
#else
if ((RTC->ISR & RTC_ISR_INITS) == RTC_ISR_INITS) return 1;
else return 0;
if ((RTC->ISR & RTC_ISR_INITS) == RTC_ISR_INITS) {
return 1;
} else {
return 0;
}
#endif
}