fix stlinkv2 LED pin
This commit is contained in:
parent
60de1182a4
commit
a6ebf92b51
4
global.h
4
global.h
|
@ -374,10 +374,10 @@
|
|||
#define LED_PIN 1 /**< GPIO pin (pin PB1 on maple mini) */
|
||||
#define LED_ON 1 /**< LED is on when pin is high */
|
||||
#elif defined (STLINKV2_ALU) // it's actually a STM32F101, but it seems to have all STM32F103 features
|
||||
/* on ST-Link V2 clone dongle in aluminum case LED is on pin PA9 */
|
||||
/* on ST-Link V2 clone dongle in aluminum case LED is on pin PA9 (remap USART1_TX if used) */
|
||||
#define LED_PORT A /**< GPIO port (port A) */
|
||||
#define LED_PIN 9 /**< GPIO pin (pin PA9) */
|
||||
#define LED_ON 0 /**< the color and on level depends on the clone */
|
||||
#define LED_ON 1 /**< the color and on level depends on the clone */
|
||||
#elif defined (BUSVOODOO)
|
||||
/* on BusVoodoo LED is on pin PA8 */
|
||||
#define LED_PORT A /**< GPIO port (port A) */
|
||||
|
|
Loading…
Reference in New Issue