Skip to content

Commit

Permalink
Correct the LED definition order
Browse files Browse the repository at this point in the history
  • Loading branch information
guohui committed Oct 9, 2015
1 parent d453063 commit cc90272
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/platform_config.h
Expand Up @@ -54,16 +54,16 @@
#define LED1_GPIO_PIN_SOURCE GPIO_PinSource13 //User Led
#define LED1_GPIO_PORT GPIOA //User Led
#define LED1_GPIO_CLK RCC_AHB1Periph_GPIOA //User Led
#define LED3_GPIO_AF_TIM GPIO_AF_TIM2 //BLUE Led
#define LED3_GPIO_PIN GPIO_Pin_11 //BLUE Led
#define LED3_GPIO_PIN_SOURCE GPIO_PinSource11 //BLUE Led
#define LED3_GPIO_PORT GPIOB //BLUE Led
#define LED3_GPIO_CLK RCC_AHB1Periph_GPIOB //BLUE Led
#define LED2_GPIO_AF_TIM GPIO_AF_TIM3 //RED Led
#define LED2_GPIO_PIN GPIO_Pin_0 //RED Led
#define LED2_GPIO_PIN_SOURCE GPIO_PinSource0 //RED Led
#define LED2_GPIO_PORT GPIOB //RED Led
#define LED2_GPIO_CLK RCC_AHB1Periph_GPIOB //RED Led
#define LED2_GPIO_AF_TIM GPIO_AF_TIM2 //BLUE Led
#define LED2_GPIO_PIN GPIO_Pin_11 //BLUE Led
#define LED2_GPIO_PIN_SOURCE GPIO_PinSource11 //BLUE Led
#define LED2_GPIO_PORT GPIOB //BLUE Led
#define LED2_GPIO_CLK RCC_AHB1Periph_GPIOB //BLUE Led
#define LED3_GPIO_AF_TIM GPIO_AF_TIM3 //RED Led
#define LED3_GPIO_PIN GPIO_Pin_0 //RED Led
#define LED3_GPIO_PIN_SOURCE GPIO_PinSource0 //RED Led
#define LED3_GPIO_PORT GPIOB //RED Led
#define LED3_GPIO_CLK RCC_AHB1Periph_GPIOB //RED Led
#define LED4_GPIO_AF_TIM GPIO_AF_TIM3 //GREEN Led
#define LED4_GPIO_PIN GPIO_Pin_1 //GREEN Led
#define LED4_GPIO_PIN_SOURCE GPIO_PinSource1 //GREEN Led
Expand Down

0 comments on commit cc90272

Please sign in to comment.