Skip to content

Commit

Permalink
[boards] stm32f4_discovery: fix/switch LED 3 and 4
Browse files Browse the repository at this point in the history
to match board doc and silkscreen
  • Loading branch information
flixr committed Oct 22, 2013
1 parent eff7bef commit ee6f9e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sw/airborne/boards/stm32f4_discovery.h
Expand Up @@ -65,8 +65,8 @@
* PD9 = UART3 RX
* PD10 = FREE
* PD11 = FREE
* PD12 = LED_3
* PD13 = LED_4
* PD12 = LED_4
* PD13 = LED_3
* PD14 = LED_5
* PD15 = LED_6
*
Expand Down Expand Up @@ -110,7 +110,7 @@
#endif
#define LED_3_GPIO GPIOD
#define LED_3_GPIO_CLK RCC_AHB1ENR_IOPDEN
#define LED_3_GPIO_PIN GPIO12
#define LED_3_GPIO_PIN GPIO13
#define LED_3_AFIO_REMAP ((void)0)
#define LED_3_GPIO_ON gpio_set
#define LED_3_GPIO_OFF gpio_clear
Expand All @@ -121,7 +121,7 @@
#endif
#define LED_4_GPIO GPIOD
#define LED_4_GPIO_CLK RCC_AHB1ENR_IOPDEN
#define LED_4_GPIO_PIN GPIO13
#define LED_4_GPIO_PIN GPIO12
#define LED_4_AFIO_REMAP ((void)0)
#define LED_4_GPIO_ON gpio_set
#define LED_4_GPIO_OFF gpio_clear
Expand Down

0 comments on commit ee6f9e1

Please sign in to comment.