Fixed bug #492.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6895 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
634ea27d8e
commit
52705ade8d
|
@ -115,7 +115,7 @@ void _pal_lld_init(const PALConfig *config) {
|
|||
/*
|
||||
* Enables the GPIO related clocks.
|
||||
*/
|
||||
#if defined(STM32L1XX_MD)
|
||||
#if defined(STM32L1XX_MD) || defined(STM32L1XX_MDP) || defined(STM32L1XX_HD)
|
||||
rccEnableAHB(AHB_EN_MASK, TRUE);
|
||||
RCC->AHBLPENR |= AHB_LPEN_MASK;
|
||||
#elif defined(STM32F0XX)
|
||||
|
|
Loading…
Reference in New Issue