stm32f1: maple LED is on A5.

Fix incorrect RCC port.  Only applies to "maple" not to maple mini.

Fixes github issue #117
This commit is contained in:
Karl Palsson
2016-01-11 09:59:14 +00:00
parent 7322fdcdb9
commit b22ea8b616

View File

@@ -26,7 +26,7 @@ static void gpio_setup(void)
/* Manually: */ /* Manually: */
// RCC_APB2ENR |= RCC_APB2ENR_IOPCEN; // RCC_APB2ENR |= RCC_APB2ENR_IOPCEN;
/* Using API functions: */ /* Using API functions: */
rcc_periph_clock_enable(RCC_GPIOC); rcc_periph_clock_enable(RCC_GPIOA);
/* Set GPIO5 (in GPIO port A) to 'output push-pull'. */ /* Set GPIO5 (in GPIO port A) to 'output push-pull'. */
/* Manually: */ /* Manually: */