x7/x9e startup review (#5033)
* Turn on X7 like it is done on X9 * 4 squares like shutdown + prep for firmware option to disable * Compile option * - rollback firmware option - fast one second power on - unchanged power off - animation added for x7 power on - animation for power off changed to 'removing' quarter instead of adding (ie the power on anim fills in, the power down fills out) * Cosmetics * Cosmetics
This commit is contained in:
@@ -1568,7 +1568,7 @@ void drawShutdownAnimation(uint32_t index)
|
||||
lcdClear();
|
||||
int quarter = index / (PWR_PRESS_SHUTDOWN_DELAY / 5);
|
||||
for (int i=1; i<=4; i++) {
|
||||
if (quarter >= i) {
|
||||
if ((4 -quarter) >= i) {
|
||||
lcdDrawFilledRect(LCD_W / 2 - 28 + 10 * i, LCD_H / 2 - 3, 6, 6, SOLID, 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user