NV14 charging animation
This commit is contained in:
committed by
Raphael Coeffic
parent
ed5e53a477
commit
f410c2cea9
@@ -176,12 +176,14 @@ void handle_battery_charge(uint32_t last_press_time)
|
|||||||
if(!lcdInited) {
|
if(!lcdInited) {
|
||||||
backlightInit();
|
backlightInit();
|
||||||
lcdInit();
|
lcdInit();
|
||||||
|
lcdInitDisplayDriver();
|
||||||
lcdInited = true;
|
lcdInited = true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
lcdOn();
|
lcdOn();
|
||||||
}
|
}
|
||||||
updateTime = get_tmr10ms();
|
updateTime = get_tmr10ms();
|
||||||
|
lcdInitDirectDrawing();
|
||||||
lcd->clear();
|
lcd->clear();
|
||||||
drawChargingInfo(chargeState);
|
drawChargingInfo(chargeState);
|
||||||
lcdRefresh();
|
lcdRefresh();
|
||||||
|
|||||||
Reference in New Issue
Block a user