mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/efm32/gpio: fix clock enable sequence for series 2
This commit is contained in:
parent
1c60c95733
commit
2b1a260c43
@ -59,7 +59,9 @@ int gpio_init(gpio_t pin, gpio_mode_t mode)
|
||||
}
|
||||
|
||||
/* enable clocks */
|
||||
#if defined(_SILICON_LABS_32B_SERIES_0) || defined(_SILICON_LABS_32B_SERIES_1)
|
||||
CMU_ClockEnable(cmuClock_HFPER, true);
|
||||
#endif
|
||||
CMU_ClockEnable(cmuClock_GPIO, true);
|
||||
|
||||
/* configure pin */
|
||||
|
Loading…
Reference in New Issue
Block a user