mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Remove extra newlines
This commit is contained in:
parent
6fd83a2f5e
commit
22e291132e
@ -53,7 +53,6 @@ static uint8_t byte2bcd(uint8_t value);
|
||||
*/
|
||||
void rtc_init(void)
|
||||
{
|
||||
|
||||
/* Enable write access to RTC registers */
|
||||
RCC->APB1ENR |= RCC_APB1ENR_PWREN;
|
||||
PWR->CR |= PWR_CR_DBP;
|
||||
@ -98,7 +97,6 @@ void rtc_init(void)
|
||||
|
||||
/* Enable RTC write protection */
|
||||
RTC->WPR = 0xff;
|
||||
|
||||
}
|
||||
|
||||
int rtc_set_time(struct tm *time)
|
||||
@ -233,7 +231,6 @@ void rtc_poweroff(void)
|
||||
|
||||
void isr_rtc_alarm(void)
|
||||
{
|
||||
|
||||
if ((RTC->ISR & RTC_ISR_ALRAF) && (rtc_callback.cb != NULL)) {
|
||||
rtc_callback.cb(rtc_callback.arg);
|
||||
RTC->ISR &= ~RTC_ISR_ALRAF;
|
||||
|
Loading…
Reference in New Issue
Block a user