# HG changeset patch # User heinrichsweikamp # Date 1423838257 -3600 # Node ID c966ea4f8f38b787a397fb86c239c05494eca8a9 # Parent c50296c3059e60e9de982d5366ca50037d7653ea Minor: Avoid unwanted "-1" in internal logbook diff -r c50296c3059e -r c966ea4f8f38 code_part1/OSTC_code_asm_part1/menu_logbook.asm --- a/code_part1/OSTC_code_asm_part1/menu_logbook.asm Sat Feb 07 12:37:04 2015 +0100 +++ b/code_part1/OSTC_code_asm_part1/menu_logbook.asm Fri Feb 13 15:37:37 2015 +0100 @@ -357,6 +357,8 @@ movff PRODL,sub_a+0 movff PRODH,sub_a+1 call subU16 ; sub_c = sub_a - sub_b (with UNSIGNED values) + + bcf premenu ; Clear temporary flag btfss neg_flag bra display_start_dive_normal ; Not during midnight...