git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6928 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2014-05-12 09:06:49 +00:00
parent 184fa403fa
commit e0dbac1295
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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
/** @} */