dogfood-timer fixed old bug where changing the time would increase the first digit by 1.

master
Cole Deck 7 years ago
parent 415a5f8484
commit aba31162e3

@ -187,6 +187,7 @@ void setuptime() {
lcd.print("is this ok?");
while (digitalRead(7) == 0) {
if(digitalRead(6) == 1) {
delay(200);
setuptime();
}
}
@ -226,7 +227,7 @@ void setuptime() {
}
}
if(digitalRead(6) == 1 && check == true) {
delay(100);
delay(200);
setuptime();
}
if(now() != oldtime) {

Loading…
Cancel
Save