mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix out of range consntant
This commit is contained in:
parent
f7ea782e73
commit
de1f6f942d
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ fn xmain() -> ! {
|
|||
|
||||
if stats.current == 0xdddd || stats.current == 0xffff
|
||||
|| stats.voltage == 0xdddd || stats.voltage == 0xffff
|
||||
|| stats.soc == 0xdddd || stats.soc == 0xffff {
|
||||
|| stats.soc == 0xdd || stats.soc == 0xff {
|
||||
write!(&mut battstats_tv, "{}", t!("stats.measuring", xous::LANG)).unwrap();
|
||||
} else {
|
||||
// toggle between two views of the data every time we have a status update
|
||||
|
|
|
|||
Loading…
Reference in a new issue