bug fixes, bump version to 0.3.6
This commit is contained in:
parent
e40e51849c
commit
059869cf73
@ -230,7 +230,7 @@ void setup(void) {
|
||||
}
|
||||
clearLog();
|
||||
printFastCText("Booting GreenhouseOS...");
|
||||
printFastCText("Version: 0.3.5");
|
||||
printFastCText("Version: 0.3.6");
|
||||
printFastCText("");
|
||||
delay(250);
|
||||
if(!didDraw) {
|
||||
@ -341,6 +341,10 @@ void loop(void) {
|
||||
String out = "Water Level:";
|
||||
tft.drawString(out.c_str(), 2, 2, 2);
|
||||
checkBat();
|
||||
printFastCText("[ INFO ] Exited debug mode.");
|
||||
} else {
|
||||
printFastCText("[ INFO ] Switched to debug mode.");
|
||||
delay(500);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -929,7 +933,7 @@ void button(int x, int y) {
|
||||
upd = true;
|
||||
go = true;
|
||||
}
|
||||
|
||||
delay(250);
|
||||
}
|
||||
}
|
||||
else if (menu == 1) {
|
||||
@ -938,9 +942,6 @@ void button(int x, int y) {
|
||||
pinMode(9, OUTPUT);
|
||||
digitalWrite(9, LOW); // RESET
|
||||
}
|
||||
if (y == 0) {
|
||||
//do nothing
|
||||
}
|
||||
if (x == 1 && y == 1) {
|
||||
menu = 0;
|
||||
upd = true;
|
||||
@ -1016,7 +1017,7 @@ void button(int x, int y) {
|
||||
updBoxMenu(dispbox);
|
||||
}
|
||||
}
|
||||
delay(175);
|
||||
delay(50);
|
||||
}
|
||||
|
||||
void displayText(int x, int y, boolean center, String text, int size) {
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user