comparison code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 286:5351d47ee28a

Active gas flags simplified
author heinrichsweikamp
date Wed, 20 Apr 2011 07:51:11 +0200
parents f8f865c70a0d
children 4dbff2aa31ee
comparison
equal deleted inserted replaced
285:8874b6cd8f36 286:5351d47ee28a
703 bcf display_set_gas 703 bcf display_set_gas
704 bcf display_set_xgas 704 bcf display_set_xgas
705 bcf display_set_setpoint 705 bcf display_set_setpoint
706 bcf display_set_simulator 706 bcf display_set_simulator
707 bcf display_set_active 707 bcf display_set_active
708 bcf menu3_active
708 bcf switch_left ; and debounce switches 709 bcf switch_left ; and debounce switches
709 bcf switch_right 710 bcf switch_right
710 return 711 return
711 712
712 ; Re-Draw current page of decoplan (may have more stops) 713 ; Re-Draw current page of decoplan (may have more stops)
717 call PLED_decoplan ; Yes: new data available. 718 call PLED_decoplan ; Yes: new data available.
718 bra timeout_divemenu1 ; Check timeout 719 bra timeout_divemenu1 ; Check timeout
719 720
720 timeout_divemenu6: 721 timeout_divemenu6:
721 ; Update Simulator Mask 722 ; Update Simulator Mask
723 bsf menu3_active ; So "+1" is accessible at all times
722 call PLED_divemode_simulator_mask; Show mask 724 call PLED_divemode_simulator_mask; Show mask
723 call PLED_divemenu_cursor ; update cursor 725 call PLED_divemenu_cursor ; update cursor
724 bra timeout_divemenu1 ; Check timeout 726 bra timeout_divemenu1 ; Check timeout