summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-04-10 15:44:50 +0700
committerhathach <[email protected]>2020-04-10 15:44:50 +0700
commitd8d5902ccb24a29aebde009dfe388c23ffd8a6d3 (patch)
tree805c48cd74bc17cf187e62834d25d5cec7a4bfd9
parentc545cfc0bc9c4828c4b60515014386f770622166 (diff)
change saola-1 led to pin 18 by default
-rw-r--r--hw/bsp/esp32s2_saola_1/esp32s2_saola_1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/esp32s2_saola_1/esp32s2_saola_1.c b/hw/bsp/esp32s2_saola_1/esp32s2_saola_1.c
index ef70f1ee2..8515e10e2 100644
--- a/hw/bsp/esp32s2_saola_1/esp32s2_saola_1.c
+++ b/hw/bsp/esp32s2_saola_1/esp32s2_saola_1.c
@@ -37,8 +37,8 @@
// Note: On the production version (v1.2) WS2812 is connected to GPIO 18,
// however earlier revision v1.1 WS2812 is connected to GPIO 17
-//#define LED_PIN 18 // v1.2 and later
-#define LED_PIN 17 // v1.1
+#define LED_PIN 18 // v1.2 and later
+//#define LED_PIN 17 // v1.1
#define BUTTON_PIN 0
#define BUTTON_STATE_ACTIVE 0