mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
more constants fixing
This commit is contained in:
parent
de1f6f942d
commit
9f124c646c
1 changed files with 1 additions and 1 deletions
|
|
@ -358,7 +358,7 @@ fn xmain() -> ! {
|
|||
// have to clear the entire rectangle area, because the SSID has a variable width and can be much wider or shorter than battstats
|
||||
gam.draw_rectangle(status_gid, stats_rect).ok();
|
||||
|
||||
if stats.current == 0xdddd || stats.current == 0xffff
|
||||
if stats.current == -8739 /* 0xdddd */
|
||||
|| stats.voltage == 0xdddd || stats.voltage == 0xffff
|
||||
|| stats.soc == 0xdd || stats.soc == 0xff {
|
||||
write!(&mut battstats_tv, "{}", t!("stats.measuring", xous::LANG)).unwrap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue