@@ -145,10 +145,10 @@ int lastValve;
145145unsigned long startMillis;
146146const int ledPin = 5 ;
147147const int waterButtonPin = 3 ;
148- boolean buttonPushed = false ;
149- boolean showTime = true ;
150- boolean clockUpdating = false ;
151- boolean recentUpdate = true ;
148+ bool buttonPushed = false ;
149+ bool showTime = true ;
150+ bool clockUpdating = false ;
151+ bool recentUpdate = true ;
152152const char *dayOfWeek[] = {
153153 " Null" , " Sunday " , " Monday " , " Tuesday " , " Wednesday " , " Thursday " , " Friday " , " Saturday "
154154};
@@ -246,7 +246,7 @@ void setup()
246246 lcd.setCursor (0 , 1 );
247247 lcd.print (F (" Valve Data: " ));
248248 lcd.print (i);
249- boolean flashIcon = false ;
249+ bool flashIcon = false ;
250250 DEBUG_PRINT (F (" Calling for Valve " ));
251251 DEBUG_PRINT (i);
252252 DEBUG_PRINTLN (F (" Data..." ));
@@ -542,7 +542,7 @@ void slowToggleLED ()
542542//
543543void receive (const MyMessage &message)
544544{
545- boolean zoneTimeUpdate = false ;
545+ bool zoneTimeUpdate = false ;
546546 if (message.isAck ())
547547 {
548548 DEBUG_PRINTLN (F (" This is an ack from gateway" ));
@@ -656,7 +656,7 @@ void receive(const MyMessage &message)
656656void updateDisplay ()
657657{
658658 static unsigned long lastUpdateTime;
659- static boolean displayToggle = false ;
659+ static bool displayToggle = false ;
660660 // static byte toggleCounter = 0;
661661 static SprinklerStates lastDisplayState;
662662 if (state != lastDisplayState || millis () - lastUpdateTime >= 3000UL )
0 commit comments