comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 404:cd48cdb6e1ae

Add a setpoint change to the first depth sample in CC mode
author heinrichsweikamp
date Wed, 29 Jun 2011 07:32:07 +0200
parents ab962c4b19d6
children 2534277be060
comparison
equal deleted inserted replaced
403:5b560559bc1a 404:cd48cdb6e1ae
45 btfsc FLAG_apnoe_mode 45 btfsc FLAG_apnoe_mode
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
51 btfsc FLAG_const_ppO2_mode ; only in const_ppO2_mode
52 bsf setpoint_changed ; Add a setpoint change to the first depth sample in CC mode
50 53
51 diveloop_loop: ; The diveloop starts here 54 diveloop_loop: ; The diveloop starts here
52 btfss onesecupdate ; tasks any new second 55 btfss onesecupdate ; tasks any new second
53 bra diveloop_loop3 56 bra diveloop_loop3
54 57