Browse Source

Merge pull request #788 from kapacuk/blackpill

Change LED_STATE_ON to 0 for stm32f401 and stm32f411 blackpill boards
Ha Thach 5 years ago
parent
commit
4ba64719bd

+ 1 - 1
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

+ 1 - 1
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