mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
esp8266 uart with irq disabled
This commit is contained in:
@@ -83,10 +83,13 @@ class System {
|
||||
static constexpr uint8_t LED_GPIO = 2;
|
||||
static constexpr uint8_t LED_ON = LOW;
|
||||
#elif defined(ESP32)
|
||||
// static constexpr uint8_t LED_GPIO = 5; // on Wemos D32
|
||||
// static constexpr uint8_t LED_ON = LOW;
|
||||
#ifdef WEMOS_D1_32
|
||||
static constexpr uint8_t LED_GPIO = 2; // on Wemos D1-32
|
||||
static constexpr uint8_t LED_ON = HIGH;
|
||||
#else
|
||||
static constexpr uint8_t LED_GPIO = 5;
|
||||
static constexpr uint8_t LED_ON = LOW;
|
||||
#endif
|
||||
#else
|
||||
static constexpr uint8_t LED_GPIO = 0;
|
||||
static constexpr uint8_t LED_ON = 0;
|
||||
|
||||
Reference in New Issue
Block a user