Mercurial > public > hwos_code
comparison 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 |
comparison
equal
deleted
inserted
replaced
471:9edb1359ce43 | 472:4fdf6886004b |
---|---|
2982 call strcat_text | 2982 call strcat_text |
2983 movff batt_voltage+1,hi | 2983 movff batt_voltage+1,hi |
2984 movff batt_voltage+0,lo | 2984 movff batt_voltage+0,lo |
2985 bsf leftbind | 2985 bsf leftbind |
2986 output_16dp .2 ; x.xxx | 2986 output_16dp .2 ; x.xxx |
2987 STRCAT "V (T" | |
2988 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 | |
2989 output_8 | |
2987 bcf leftbind | 2990 bcf leftbind |
2988 PUTC "V" | 2991 PUTC ")" |
2989 return | 2992 return |
2990 | 2993 |
2991 ; For the Information menu: Append Uptime | 2994 ; For the Information menu: Append Uptime |
2992 global info_menu_uptime | 2995 global info_menu_uptime |
2993 extern tUptime | 2996 extern tUptime |