Fixed bug #495.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6928 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
184fa403fa
commit
e0dbac1295
|
@ -326,7 +326,7 @@
|
|||
#error "I2C peripheral clock frequency out of range."
|
||||
#endif
|
||||
|
||||
#elif defined(STM32L1XX_MD)
|
||||
#elif defined(STM32L1XX)
|
||||
#if !(I2C_CLK_FREQ >= 2) && (I2C_CLK_FREQ <= 32)
|
||||
#error "I2C peripheral clock frequency out of range."
|
||||
#endif
|
||||
|
|
|
@ -120,7 +120,6 @@ void hal_lld_init(void) {
|
|||
*
|
||||
* @special
|
||||
*/
|
||||
#if defined(STM32L1XX_MD) || defined(__DOXYGEN__)
|
||||
/**
|
||||
* @brief Clocks and internal voltage initialization.
|
||||
*/
|
||||
|
@ -216,8 +215,5 @@ void stm32_clock_init(void) {
|
|||
among multiple drivers.*/
|
||||
rccEnableAPB2(RCC_APB2ENR_SYSCFGEN, TRUE);
|
||||
}
|
||||
#else
|
||||
void stm32_clock_init(void) {}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
|
|
Loading…
Reference in New Issue