# HG changeset patch # User heinrichsweikamp # Date 1379919789 -7200 # Node ID e9b7232b4f56042b3e9b12c3aaff0205d6254295 # Parent 563fe6a201b38e9c58dc5d3f9cfbf722749ef811 fix change depth ppO2 for OSTC 2C hardware diff -r 563fe6a201b3 -r e9b7232b4f56 code_part1/OSTC_code_asm_part1/menu_gassetup.asm --- 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: