diff --git a/lib/rtc_dcf77.c b/lib/rtc_dcf77.c index 61d2c5f..54bf22b 100644 --- a/lib/rtc_dcf77.c +++ b/lib/rtc_dcf77.c @@ -40,7 +40,7 @@ volatile uint64_t rtc_dcf77_frame = 0; /**< the received DCF77 frame bits */ void rtc_dcf77_setup(void) { // setup enable output - rcc_periph_clock_enable(RTC_DCF77_ENABLE_RCC); // enable clock GPIO peripherial + rcc_periph_clock_enable(RTC_DCF77_ENABLE_RCC); // enable clock GPIO peripheral gpio_set_mode(RTC_DCF77_ENABLE_PORT, GPIO_MODE_OUTPUT_2_MHZ, GPIO_CNF_OUTPUT_PUSHPULL, RTC_DCF77_ENABLE_PIN); // set pin to output push-pull to be able to enable the module rtc_dcf77_off(); // disable module at start