Be more clear on charging status
This commit is contained in:
parent
4697a92817
commit
340276a9f7
|
@ -65,9 +65,9 @@ void ChkBattery(void) {
|
||||||
lcdNl();
|
lcdNl();
|
||||||
lcdPrintln("Chrg_stat:");
|
lcdPrintln("Chrg_stat:");
|
||||||
if(gpioGetValue(RB_PWR_CHRG)){
|
if(gpioGetValue(RB_PWR_CHRG)){
|
||||||
lcdPrintln("1");
|
lcdPrintln("not charging");
|
||||||
}else{
|
}else{
|
||||||
lcdPrintln("0");
|
lcdPrintln(" CHARGING");
|
||||||
};
|
};
|
||||||
lcdRefresh();
|
lcdRefresh();
|
||||||
delayms_queue(100);
|
delayms_queue(100);
|
||||||
|
|
Loading…
Reference in New Issue