From ab3cda47b9915c6f0854ebd50e1e694500cb53c3 Mon Sep 17 00:00:00 2001 From: dbestm Date: Mon, 22 Feb 2016 14:28:20 +0100 Subject: [PATCH] fix formatting --- .../mbed/targets/hal/TARGET_STM/TARGET_STM32L4/rtc_api.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L4/rtc_api.c b/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L4/rtc_api.c index cde22774e1..1176bdf9ae 100644 --- a/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L4/rtc_api.c +++ b/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L4/rtc_api.c @@ -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 }