|
|
@ -1299,8 +1299,6 @@ void lcd_update() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif//CARDINSERTED
|
|
|
|
#endif//CARDINSERTED
|
|
|
|
|
|
|
|
|
|
|
|
static uint8_t dotcounter = 63;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
uint32_t ms = millis();
|
|
|
|
uint32_t ms = millis();
|
|
|
|
if (ms > lcd_next_update_millis) {
|
|
|
|
if (ms > lcd_next_update_millis) {
|
|
|
|
|
|
|
|
|
|
|
@ -1366,12 +1364,11 @@ void lcd_update() {
|
|
|
|
(*currentMenu)();
|
|
|
|
(*currentMenu)();
|
|
|
|
if (lcdDrawUpdate) {
|
|
|
|
if (lcdDrawUpdate) {
|
|
|
|
do {
|
|
|
|
do {
|
|
|
|
if (!dotcounter) dotcounter = 63;
|
|
|
|
|
|
|
|
lcd_setFont(FONT_MENU);
|
|
|
|
lcd_setFont(FONT_MENU);
|
|
|
|
u8g.setPrintPos(125, 0);
|
|
|
|
u8g.setPrintPos(125, 0);
|
|
|
|
// if (blink % 2) u8g.setColorIndex(1); else u8g.setColorIndex(0); // Set color for the alive dot
|
|
|
|
if (blink % 2) u8g.setColorIndex(1); else u8g.setColorIndex(0); // Set color for the alive dot
|
|
|
|
u8g.drawPixel(127, dotcounter--); // draw alive dot
|
|
|
|
u8g.drawPixel(127, 63); // draw alive dot
|
|
|
|
// u8g.setColorIndex(1); // black on white
|
|
|
|
u8g.setColorIndex(1); // black on white
|
|
|
|
(*currentMenu)();
|
|
|
|
(*currentMenu)();
|
|
|
|
} while( u8g.nextPage() );
|
|
|
|
} while( u8g.nextPage() );
|
|
|
|
}
|
|
|
|
}
|
|
|
|