Skip to content

Commit b35ba46

Browse files
authored
receivedInitialValue in setup look not reset
This update corrects a problem in that initial read of valve times misses V_VAR1 as the receivedInitialValue is not reset to false during the loop when going into the V_VAR1 receive loop.
1 parent f35aad0 commit b35ba46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/IrrigationController/IrrigationController.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ void setup()
253253
DEBUG_PRINT(F("Calling for Valve "));
254254
DEBUG_PRINT(i);
255255
DEBUG_PRINTLN(F(" Data..."));
256+
receivedInitialValue = false;
256257
while (!receivedInitialValue)
257258
{
258259
lcd.setCursor(15, 0);

0 commit comments

Comments
 (0)