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