diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2020-02-11 09:18:37 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2020-03-23 18:58:56 +0100 |
commit | 624cf6ba27290c9a6c37c01a3d804707933ea981 (patch) | |
tree | c5833f7abf67cc5edae54e1323dd439d329e0dbf | |
parent | a590c39aab4de0e373f2bed8c8e681b0690a0fdb (diff) | |
download | openfirmware-624cf6ba27290c9a6c37c01a3d804707933ea981.tar.gz |
mmp3/thermal: only show battery stats if there's a battery
-rw-r--r-- | cpu/arm/mmp3/thermal.fth | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/arm/mmp3/thermal.fth b/cpu/arm/mmp3/thermal.fth index 69ff5547..ede1eadc 100644 --- a/cpu/arm/mmp3/thermal.fth +++ b/cpu/arm/mmp3/thermal.fth @@ -213,7 +213,9 @@ h# 0400.0d00 value ts-watchdog-mask \ 100.5C 1 ts@ gc>c .c.c \ FIXME: show <n and >n too here 2 ts@ gc>c .c.c ." cpu: " cpu-temperature .c +[ifdef] .bat-temp ." battery: " .bat-temp ." C " +[then] pop-base ; |