Fix for failed build with ZsensorGPIOInput and ESPWifiManualSetup (#1479)

* Fix failed build with GPIOInput enabled and ESPWifiManualSetup
This commit is contained in:
Northern Man authored and GitHub committed 2023-02-23 13:54:25 -06:00
1 parent 032a82e5e2
commit 239acaab13
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@ void MeasureGPIOInput() {
# if defined(ESP8266) || defined(ESP32)
yield();
# endif
# if defined(TRIGGER_GPIO) && INPUT_GPIO == TRIGGER_GPIO
# if defined(TRIGGER_GPIO) && INPUT_GPIO == TRIGGER_GPIO && !defined(ESPWifiManualSetup)
if (reading == LOW) {
if (resetTime == 0) {
resetTime = millis();