comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 413:46c1818ab589

testing
author heinrichsweikamp
date Sat, 16 Jul 2011 09:32:31 +0200
parents 3e0192f6c241
children d022c62a1df5
comparison
equal deleted inserted replaced
412:b2c9cc018671 413:46c1818ab589
46 bra diveloop_loop ; Skip in apnoe mode 46 bra diveloop_loop ; Skip in apnoe mode
47 47
48 ; Startup Tasks for deco modes 48 ; Startup Tasks for deco modes
49 call PLED_display_ndl_mask ; display "no stop" if not in gauge or apnoe mode 49 call PLED_display_ndl_mask ; display "no stop" if not in gauge or apnoe mode
50 50
51 btfsc FLAG_const_ppO2_mode ; only in const_ppO2_mode 51 btfss FLAG_const_ppO2_mode ; only in const_ppO2_mode
52 bra diveloop_loop ; OC modes, skip
52 bsf setpoint_changed ; Add a setpoint change to the first depth sample in CC mode 53 bsf setpoint_changed ; Add a setpoint change to the first depth sample in CC mode
53 btfsc FLAG_const_ppO2_mode ; only in const_ppO2_mode
54 bsf event_occured ; set global event flag 54 bsf event_occured ; set global event flag
55 55
56 diveloop_loop: ; The diveloop starts here 56 diveloop_loop: ; The diveloop starts here
57 btfss onesecupdate ; tasks any new second 57 btfss onesecupdate ; tasks any new second
58 bra diveloop_loop3 58 bra diveloop_loop3