comparison src/divemode.asm @ 204:93085f540746

minor
author heinrichsweikamp
date Sun, 23 Nov 2014 22:33:41 +0100
parents 3bbfac29ba3e
children 618191753d2b
comparison
equal deleted inserted replaced
203:dd9b167e82dc 204:93085f540746
1314 clrf average_depth_hold_total+2 1314 clrf average_depth_hold_total+2
1315 clrf average_depth_hold_total+3 ; Clear Non-Resettable Average 1315 clrf average_depth_hold_total+3 ; Clear Non-Resettable Average
1316 rcall reset_average1 ; Reset the resettable average depth 1316 rcall reset_average1 ; Reset the resettable average depth
1317 bcf decostop_active 1317 bcf decostop_active
1318 bcf better_gas_available ;=1: A better gas is available and a gas change is advised in divemode 1318 bcf better_gas_available ;=1: A better gas is available and a gas change is advised in divemode
1319 call ghostwriter_short_header ; Write short header with divenumber into profile memory 1319 call ghostwriter_short_header ; Write short header with divenumber into profile memory
1320 call piezo_config_dive ; Setup buttons
1320 1321
1321 btfsc simulatormode_active 1322 btfsc simulatormode_active
1322 bra diveloop_boot_1 1323 bra diveloop_boot_1
1323 ; Normal mode = Surface pressure is the pressure 30mn before dive. 1324 ; Normal mode = Surface pressure is the pressure 30mn before dive.
1324 SAFE_2BYTE_COPY last_surfpressure_30min, int_I_pres_surface ;copy surfacepressure to deco routine 1325 SAFE_2BYTE_COPY last_surfpressure_30min, int_I_pres_surface ;copy surfacepressure to deco routine