fix typo
This commit is contained in:
parent
7c6b43d464
commit
c679a74ba7
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user