mirror of https://github.com/rusefi/ChibiOS.git
RTC. Insert forgotten closing brace in documentation.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3414 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
2950a0a7b8
commit
4ab87c6ded
|
@ -154,7 +154,7 @@ void rtc_lld_init(void){
|
||||||
preload = (STM32_HSICLK / 128) - 1;
|
preload = (STM32_HSICLK / 128) - 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Selects clock source (previously enabled and stabilized.*/
|
/* Selects clock source (previously enabled and stabilized).*/
|
||||||
RCC->BDCR = (RCC->BDCR & ~RCC_BDCR_RTCSEL) | STM32_RTC;
|
RCC->BDCR = (RCC->BDCR & ~RCC_BDCR_RTCSEL) | STM32_RTC;
|
||||||
|
|
||||||
/* RTC enabled regardless its previous status.*/
|
/* RTC enabled regardless its previous status.*/
|
||||||
|
|
Loading…
Reference in New Issue