Mercurial > public > hwos_code
comparison src/tft_outputs.asm @ 231:834e1c35160c
BUGFIX: Show average depth with one decimal digit only
author | mh@mh-THINK |
---|---|
date | Sat, 21 Feb 2015 20:05:57 +0100 |
parents | e1e5876bd777 |
children | 57155164faad |
comparison
equal
deleted
inserted
replaced
230:f6548e8f06f5 | 231:834e1c35160c |
---|---|
889 movff avr_rel_pressure_total+1,hi | 889 movff avr_rel_pressure_total+1,hi |
890 call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar] | 890 call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar] |
891 WIN_MEDIUM dive_avr_stop_column1,dive_avr_stop_row | 891 WIN_MEDIUM dive_avr_stop_column1,dive_avr_stop_row |
892 bsf ignore_digit5 ; no cm | 892 bsf ignore_digit5 ; no cm |
893 output_16dp .3 ; yxz.a | 893 output_16dp .3 ; yxz.a |
894 STRCAT_PRINT "" | 894 STRCAT_PRINT " " |
895 ; Stopped average depth | 895 ; Stopped average depth |
896 movff avr_rel_pressure+0,lo | 896 movff avr_rel_pressure+0,lo |
897 movff avr_rel_pressure+1,hi | 897 movff avr_rel_pressure+1,hi |
898 call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar] | 898 call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar] |
899 WIN_MEDIUM dive_avr_stop_column3,dive_avr_stop_row | 899 WIN_MEDIUM dive_avr_stop_column3,dive_avr_stop_row |
900 bsf ignore_digit5 ; no cm | 900 bsf ignore_digit5 ; no cm |
901 output_16dp .3 ; yxz.a | 901 output_16dp .3 ; yxz.a |
902 bcf leftbind | 902 bcf leftbind |
903 bcf ignore_digit5 | 903 bcf ignore_digit5 |
904 STRCAT_PRINT "" | 904 STRCAT_PRINT " " |
905 return | 905 return |
906 | 906 |
907 global TFT_ceiling_mask ; The ceiling mask | 907 global TFT_ceiling_mask ; The ceiling mask |
908 TFT_ceiling_mask: | 908 TFT_ceiling_mask: |
909 call TFT_divemask_color | 909 call TFT_divemask_color |