|
@@ -1299,6 +1299,8 @@ void lcd_update() {
|
1299
|
1299
|
}
|
1300
|
1300
|
#endif//CARDINSERTED
|
1301
|
1301
|
|
|
1302
|
+ static uint8_t dotcounter = 63;
|
|
1303
|
+
|
1302
|
1304
|
uint32_t ms = millis();
|
1303
|
1305
|
if (ms > lcd_next_update_millis) {
|
1304
|
1306
|
|
|
@@ -1362,11 +1364,12 @@ void lcd_update() {
|
1362
|
1364
|
blink++; // Variable for fan animation and alive dot
|
1363
|
1365
|
u8g.firstPage();
|
1364
|
1366
|
do {
|
|
1367
|
+ if (!dotcounter) dotcounter = 63;
|
1365
|
1368
|
lcd_setFont(FONT_MENU);
|
1366
|
1369
|
u8g.setPrintPos(125, 0);
|
1367
|
|
- if (blink % 2) u8g.setColorIndex(1); else u8g.setColorIndex(0); // Set color for the alive dot
|
1368
|
|
- u8g.drawPixel(127, 63); // draw alive dot
|
1369
|
|
- u8g.setColorIndex(1); // black on white
|
|
1370
|
+// if (blink % 2) u8g.setColorIndex(1); else u8g.setColorIndex(0); // Set color for the alive dot
|
|
1371
|
+ u8g.drawPixel(127, dotcounter--); // draw alive dot
|
|
1372
|
+// u8g.setColorIndex(1); // black on white
|
1370
|
1373
|
(*currentMenu)();
|
1371
|
1374
|
if (!lcdDrawUpdate) break; // Terminate display update, when nothing new to draw. This must be done before the last dogm.next()
|
1372
|
1375
|
} while( u8g.nextPage() );
|