mirror of https://github.com/ARMmbed/mbed-os.git
fix formatting
parent
37afc01c39
commit
ab3cda47b9
|
@ -147,8 +147,11 @@ int rtc_isenabled(void)
|
||||||
#if DEVICE_RTC_LSI
|
#if DEVICE_RTC_LSI
|
||||||
return rtc_inited;
|
return rtc_inited;
|
||||||
#else
|
#else
|
||||||
if ((RTC->ISR & RTC_ISR_INITS) == RTC_ISR_INITS) return 1;
|
if ((RTC->ISR & RTC_ISR_INITS) == RTC_ISR_INITS) {
|
||||||
else return 0;
|
return 1;
|
||||||
|
} else {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue