Mercurial > public > hwos_code
comparison src/tft_outputs.asm @ 589:8a7d2d8bcd33
limit string length to 4 digits/chars in average depth
author | heinrichsweikamp |
---|---|
date | Sat, 10 Mar 2018 15:44:58 +0100 |
parents | e81cf407261a |
children | 08a0162d3ca1 |
comparison
equal
deleted
inserted
replaced
588:bf0c76e9b01b | 589:8a7d2d8bcd33 |
---|---|
1236 movff avg_rel_pressure_total+1,hi | 1236 movff avg_rel_pressure_total+1,hi |
1237 call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar] | 1237 call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar] |
1238 WIN_MEDIUM dm_custom_avr_stop_column1,dm_custom_avr_stop_row | 1238 WIN_MEDIUM dm_custom_avr_stop_column1,dm_custom_avr_stop_row |
1239 bsf ignore_digit5 ; no cm | 1239 bsf ignore_digit5 ; no cm |
1240 output_16dp .3 ; yxz.a | 1240 output_16dp .3 ; yxz.a |
1241 clrf WREG | |
1242 movff WREG,buffer+.4 ; limit string length to 4 digits/chars | |
1241 STRCAT_PRINT " " | 1243 STRCAT_PRINT " " |
1242 ; Stopped average depth | 1244 ; Stopped average depth |
1243 movff avg_rel_pressure+0,lo | 1245 movff avg_rel_pressure+0,lo |
1244 movff avg_rel_pressure+1,hi | 1246 movff avg_rel_pressure+1,hi |
1245 call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar] | 1247 call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar] |