Merge pull request #2966 from anandsr21/arm_stm32f0discovery_led_fix
arm: stm32f0discovery led color fix
This commit is contained in:
commit
714c10e44f
@ -65,12 +65,12 @@ extern "C" {
|
||||
#define LD4_TOGGLE (LED_PORT->ODR ^= LD4_PIN)
|
||||
|
||||
/* for compatibility to other boards */
|
||||
#define LED_GREEN_ON LD4_ON
|
||||
#define LED_GREEN_OFF LD4_OFF
|
||||
#define LED_GREEN_TOGGLE LD4_TOGGLE
|
||||
#define LED_RED_ON LD3_ON
|
||||
#define LED_RED_OFF LD3_OFF
|
||||
#define LED_RED_TOGGLE LD3_TOGGLE
|
||||
#define LED_GREEN_ON LD3_ON
|
||||
#define LED_GREEN_OFF LD3_OFF
|
||||
#define LED_GREEN_TOGGLE LD3_TOGGLE
|
||||
#define LED_RED_ON LD4_ON
|
||||
#define LED_RED_OFF LD4_OFF
|
||||
#define LED_RED_TOGGLE LD4_TOGGLE
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user