summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Barsky <[email protected]>2021-04-16 15:51:19 +0100
committerDima Barsky <[email protected]>2021-04-16 15:51:19 +0100
commit70c89da7ba550b398f83068ca342cfe23e9c720c (patch)
treea56ddda60274fbb45a83a38da15e8fd8aac814e5
parent9f925bc900d397461adafeff4a43dce6a74f68d0 (diff)
Change LED_STATE_ON to 0 for f401 and f411 blackpill boards
-rw-r--r--hw/bsp/stm32f4/boards/stm32f401blackpill/board.h2
-rw-r--r--hw/bsp/stm32f4/boards/stm32f411blackpill/board.h2
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