minor fix for 8266

small typo, resulting in "A0" listed twice in the pin info.
This commit is contained in:
Frank
2023-08-22 22:49:01 +02:00
parent 7d45f826da
commit 3bd0f70109

View File

@@ -144,7 +144,7 @@ String PinManagerClass::getPinSpecialText(int gpio) { // special purpose PIN in
#endif
#else
// ESP 8266
if ((gpio == 0) || (gpio == 17)) return (F("analog-in (A0)")); // 17 seems to be an alias for "A0" on 8266
if ((gpio == A0) || (gpio == 17)) return (F("analog-in (A0)")); // 17 seems to be an alias for "A0" on 8266
#endif