global: fix LED defined
This commit is contained in:
parent
4b1651a1a3
commit
bea3ff1f53
8
global.h
8
global.h
|
@ -625,17 +625,17 @@
|
|||
#elif defined(BLACK_PILL)
|
||||
#define LED_PIN PB12 /**< GPIO pin */
|
||||
#define LED_ON 0 /**< LED is on when pin is low */
|
||||
#elif defined (MAPLE_MINI)
|
||||
#elif defined(MAPLE_MINI)
|
||||
#define LED_PIN PB1 /**< GPIO pin (pin 19) */
|
||||
#define LED_ON 1 /**< LED is on when pin is high */
|
||||
#elif defined (STLINKV2) // it's sometimes a STM32F101, but it seems to have all STM32F103 features
|
||||
#elif defined(STLINKV2) // it's sometimes a STM32F101, but it seems to have all STM32F103 features
|
||||
/* on ST-Link V2 clone dongle in aluminum case LED is on pin PA9 (remap USART1_TX if used) */
|
||||
#define LED_PIN PA9 /**< GPIO pin */
|
||||
#define LED_ON 1 /**< the color and on level depends on the clone */
|
||||
#elif defined (BLASTER)
|
||||
#elif defined(BLASTER)
|
||||
#define LED_PIN PA5 /**< GPIO pin */
|
||||
#define LED_ON 0 /**< red LED on when low (green LED is on when device is powered) */
|
||||
#elif defined (BUSVOODOO)
|
||||
#elif defined(BUSVOODOO)
|
||||
#define LED_PIN PA8 /**< GPIO pin */
|
||||
#define LED_ON 1 /**< blue LED is on when pin is high, red LED is on when pin is low, LED is off when LED is floating */
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue