Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/menu_gassetup.asm @ 750:e9b7232b4f56
fix change depth ppO2 for OSTC 2C hardware
author | heinrichsweikamp |
---|---|
date | Mon, 23 Sep 2013 09:03:09 +0200 |
parents | 91ae251d379f |
children | c50296c3059e |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_gassetup.asm Tue Sep 03 10:40:49 2013 +0200 +++ b/code_part1/OSTC_code_asm_part1/menu_gassetup.asm Mon Sep 23 09:03:09 2013 +0200 @@ -667,6 +667,8 @@ WIN_LEFT .110 lfsr FSR2,letter rcall gassetup_show_ppO2 ; Display the ppO2 of the change depth with the current gas + clrf WREG + movff WREG,letter+7 ; limit to 7 chars movff xC+0,sub_a+0 movff xC+1,sub_a+1 @@ -1019,7 +1021,7 @@ movff xC+0,lo ; ((Depth+10m)*O2)/10 = [0.01bar] ppO2 movff xC+1,hi output_16dp d'3' - OUTPUTTEXT d'150' ; bar: + OUTPUTTEXT d'150' ; "bar " return gassetup_get_mod: