# HG changeset patch # User heinrichsweikamp # Date 1294227606 -3600 # Node ID 48f12271eb18f10ab55efd0776609e74d5ab2dd1 # Parent 35567a646fe54bc5f11bfa9e0b6fe3755a68b3c4 divingmode graphs small fix in altimeter menu diff -r 35567a646fe5 -r 48f12271eb18 code_part1/OSTC_code_asm_part1/altimeter.asm --- a/code_part1/OSTC_code_asm_part1/altimeter.asm Wed Jan 05 12:24:58 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/altimeter.asm Wed Jan 05 12:40:06 2011 +0100 @@ -224,7 +224,7 @@ WIN_INVERT .1 ; Init new Wordprocessor WIN_FONT .0 WIN_LEFT .80-7*7 - WIN_TOP .0 + WIN_TOP .1 STRCPY_PRINT "Set Altimeter:" movlw 3 ; Start menu on line 3. diff -r 35567a646fe5 -r 48f12271eb18 code_part1/OSTC_code_asm_part1/customview.asm --- a/code_part1/OSTC_code_asm_part1/customview.asm Wed Jan 05 12:24:58 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/customview.asm Wed Jan 05 12:40:06 2011 +0100 @@ -90,7 +90,6 @@ return customview_1sec_graphs: ; Do nothing extra - call PLED_tissue_saturation_graph return ;============================================================================= @@ -121,11 +120,15 @@ call PLED_show_leading_tissue_2 ; Update the leading tissue return +customview_minute_graphs: + call deco_calc_desaturation_time ; calculate desaturation time + movlb b'00000001' ; select ram bank 1 + call PLED_tissue_saturation_graph + return customview_minute_marker: ; Do nothing extra customview_minute_stopwatch: ; Do nothing extra customview_minute_average: ; Do nothing extra -customview_minute_graphs: return ;============================================================================= @@ -195,6 +198,8 @@ decfsz WREG,F ; WREG=1? bra customview_toggle ; No, use next Customview + call deco_calc_desaturation_time ; calculate desaturation time + movlb b'00000001' ; select ram bank 1 call PLED_tissue_saturation_graph bra customview_toggle_exit customview_toggle_exit: