busvoodoo: enable clock for alternative domains

This commit is contained in:
King Kévin 2018-01-24 15:58:00 +01:00
parent 5f681b9c0e
commit 5d472aacbe
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ void busvoodoo_setup(void)
rcc_periph_clock_enable(RCC_GPIOB); // enable clock for all GPIO domains
rcc_periph_clock_enable(RCC_GPIOC); // enable clock for all GPIO domains
rcc_periph_clock_enable(RCC_GPIOD); // enable clock for all GPIO domains
rcc_periph_clock_enable(RCC_AFIO); // enable pin alternate function (for communication)
busvoodoo_safe_state(); // switch off all outputs
// check if this BusVoodoo is a full version