diff src/tft_outputs.asm @ 472:4fdf6886004b

CHANGE: Show warnings either in Customview (If active) _or_ next to warning sign NEW: Show battery type in information menu (T0:1.5V AA, T1:3.6V AA, T2:3.6V/0.8A LiIon, T3:Internal 18650, T4:Internal 16650)
author heinrichsweikamp
date Sun, 18 Dec 2016 18:20:39 +0100
parents 9edb1359ce43
children 2880aa1264f5
line wrap: on
line diff
--- a/src/tft_outputs.asm	Sun Dec 11 14:43:56 2016 +0100
+++ b/src/tft_outputs.asm	Sun Dec 18 18:20:39 2016 +0100
@@ -2984,8 +2984,11 @@
     movff   batt_voltage+0,lo
 	bsf		leftbind
 	output_16dp .2      ; x.xxx
+    STRCAT  "V (T"
+    movff   battery_type,lo		; =0:1.5V, =1:3,6V Saft, =2:LiIon 3,7V/0.8Ah, =3:LiIon 3,7V/3.1Ah, =4: LiIon 3,7V/2.3Ah
+    output_8
     bcf		leftbind
-    PUTC    "V"
+    PUTC    ")"
     return
 
     ; For the Information menu: Append Uptime