mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 05:36:37 +00:00
Hide invalid pins
This commit is contained in:
parent
806232b69f
commit
16befa998d
@ -463,7 +463,8 @@ bool gpioIsSystemPin(uint8_t gpio)
|
|||||||
// Tasmota Slave GPIOs
|
// Tasmota Slave GPIOs
|
||||||
|
|
||||||
#ifdef ARDUINO_ARCH_ESP32
|
#ifdef ARDUINO_ARCH_ESP32
|
||||||
if((gpio >= 6) && (gpio <= 11)) return true; // integrated SPI flash
|
if((gpio >= 6) && (gpio <= 11)) return true; // integrated SPI flash
|
||||||
|
if((gpio == 37) || (gpio == 38)) return true; // unavailable
|
||||||
if(psramFound()) {
|
if(psramFound()) {
|
||||||
if((gpio == 16) || (gpio == 17)) return true; // PSRAM
|
if((gpio == 16) || (gpio == 17)) return true; // PSRAM
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user