re-enable powersaving and disable fastboot

master
ThirstyShark 5 years ago
parent da14bad378
commit 5b2b515964

@ -111,7 +111,7 @@ TouchScreen ts = TouchScreen(XP, YP, XM, YM, 333);
String outtext = "";
String oldtext = "";
boolean fastboot = true;
boolean fastboot = false;
boolean debug = true;
//Adafruit_Image img;
@ -845,7 +845,7 @@ void setup(void) {
delay(250);
}
printConsoleText("[ OK ] Enabling powersaving features... "); // 53 characters wide
enablePS(1);
enablePS(3);
upd = true;
if (!soil1.begin(0x36)) {
@ -895,7 +895,7 @@ void loop(void) {
printConsoleText(txtin.substring(0, txtin.length() - 1));
}
getMoisture();
// change upd to true if screen update needed
if(!debug && upd) {
tft.fillScreen(BLACK);
@ -908,8 +908,7 @@ void loop(void) {
upd = false;
}
getMoisture();
delay(2000);
}
ISR (WDT_vect)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save