summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-04-18 00:11:14 +0700
committerGitHub <[email protected]>2021-04-18 00:11:14 +0700
commit4ba64719bd2216561a294c136c962c89ea30905a (patch)
treea56ddda60274fbb45a83a38da15e8fd8aac814e5
parent9f925bc900d397461adafeff4a43dce6a74f68d0 (diff)
parent70c89da7ba550b398f83068ca342cfe23e9c720c (diff)
Merge pull request #788 from kapacuk/blackpill
Change LED_STATE_ON to 0 for stm32f401 and stm32f411 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