comparison code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 629:e755ed869a3b

2.51beta release - remove of MPLAB 8 workspace. Use of MPLAB X IDE recommended
author heinrichsweikamp
date Tue, 28 Aug 2012 19:01:41 +0200
parents f3735da18809
children 3b50c9949b84
comparison
equal deleted inserted replaced
628:b4849ef90654 629:e755ed869a3b
587 587
588 divemenu_set_gas_2: 588 divemenu_set_gas_2:
589 bsf display_set_gas ; set flag 589 bsf display_set_gas ; set flag
590 call PLED_clear_divemode_menu ; Clear Menu 590 call PLED_clear_divemode_menu ; Clear Menu
591 call PLED_gas_list ; Display all 5 gases 591 call PLED_gas_list ; Display all 5 gases
592 movlw d'1' 592
593 movlw d'1' ; Reset cursor
594 btfsc better_gas_available ;=1: A better gas is available and a gas change is advised in divemode
595 movf better_gas_number,W ; better gas 1-5
593 movwf menupos ; reset cursor 596 movwf menupos ; reset cursor
594 call PLED_divemenu_cursor ; update cursor 597 call PLED_divemenu_cursor ; update cursor
595 call PLED_show_change_depth ; And show the first change depth 598 call PLED_show_change_depth ; And show the first change depth
596 return 599 return
597 600