Mercurial > public > hwos_code
diff src/tft_outputs.asm @ 126:9e856337b225
fix depth<0m display, ceiling
author | heinrichsweikamp |
---|---|
date | Mon, 30 Jun 2014 10:58:02 +0200 |
parents | 40ff64d60054 |
children | c935f7fbd39c |
line wrap: on
line diff
--- a/src/tft_outputs.asm Sun Jun 29 14:21:23 2014 +0200 +++ b/src/tft_outputs.asm Mon Jun 30 10:58:02 2014 +0200 @@ -2471,7 +2471,7 @@ call TFT_fillup_with_spaces ; Fillup FSR2 with spaces (Total string length in #WREG) STRCAT_PRINT "" ; Display feet return - + depth_less_0.3mtr_feet: STRCAT_PRINT "0 " ; manual zero return @@ -2522,7 +2522,6 @@ bra tft_depth3 tft_depth2: - WIN_LARGE depth_column,depth_row STRCAT "0" tft_depth3: @@ -2534,7 +2533,7 @@ SAFE_2BYTE_COPY rel_pressure, lo call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar] - + PUTC "." movlw HIGH d'30' ; Display 0.0m if lower then 30cm movwf sub_a+1