From 70c89da7ba550b398f83068ca342cfe23e9c720c Mon Sep 17 00:00:00 2001 From: Dima Barsky Date: Fri, 16 Apr 2021 15:51:19 +0100 Subject: [PATCH] Change LED_STATE_ON to 0 for f401 and f411 blackpill boards --- hw/bsp/stm32f4/boards/stm32f401blackpill/board.h | 2 +- hw/bsp/stm32f4/boards/stm32f411blackpill/board.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/bsp/stm32f4/boards/stm32f401blackpill/board.h b/hw/bsp/stm32f4/boards/stm32f401blackpill/board.h index 570f5fcec..0f820512c 100644 --- a/hw/bsp/stm32f4/boards/stm32f401blackpill/board.h +++ b/hw/bsp/stm32f4/boards/stm32f401blackpill/board.h @@ -34,7 +34,7 @@ // LED #define LED_PORT GPIOC #define LED_PIN GPIO_PIN_13 -#define LED_STATE_ON 1 +#define LED_STATE_ON 0 // Button #define BUTTON_PORT GPIOA diff --git a/hw/bsp/stm32f4/boards/stm32f411blackpill/board.h b/hw/bsp/stm32f4/boards/stm32f411blackpill/board.h index 570f5fcec..0f820512c 100644 --- a/hw/bsp/stm32f4/boards/stm32f411blackpill/board.h +++ b/hw/bsp/stm32f4/boards/stm32f411blackpill/board.h @@ -34,7 +34,7 @@ // LED #define LED_PORT GPIOC #define LED_PIN GPIO_PIN_13 -#define LED_STATE_ON 1 +#define LED_STATE_ON 0 // Button #define BUTTON_PORT GPIOA