fix stlinkv2 LED pin

This commit is contained in:
King Kévin 2018-10-29 15:01:29 +01:00
parent 60de1182a4
commit a6ebf92b51
1 changed files with 2 additions and 2 deletions

View File

@ -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) */