comparison src/divemode.asm @ 220:effd7259f5a5

make button sensitivity configurable (cR hardware)
author heinrichsweikamp
date Mon, 05 Jan 2015 14:41:23 +0100
parents 8fbd8c5ac51f
children 6c4ad243cb44
comparison
equal deleted inserted replaced
219:4b2622e0fd50 220:effd7259f5a5
1377 clrf average_depth_hold_total+3 ; Clear Non-Resettable Average 1377 clrf average_depth_hold_total+3 ; Clear Non-Resettable Average
1378 rcall reset_average1 ; Reset the resettable average depth 1378 rcall reset_average1 ; Reset the resettable average depth
1379 bcf decostop_active 1379 bcf decostop_active
1380 bcf better_gas_available ;=1: A better gas is available and a gas change is advised in divemode 1380 bcf better_gas_available ;=1: A better gas is available and a gas change is advised in divemode
1381 call ghostwriter_short_header ; Write short header with divenumber into profile memory 1381 call ghostwriter_short_header ; Write short header with divenumber into profile memory
1382 call piezo_config_dive ; Setup buttons
1383 1382
1384 btfsc simulatormode_active 1383 btfsc simulatormode_active
1385 bra diveloop_boot_1 1384 bra diveloop_boot_1
1386 ; Normal mode = Surface pressure is the pressure 30mn before dive. 1385 ; Normal mode = Surface pressure is the pressure 30mn before dive.
1387 SAFE_2BYTE_COPY last_surfpressure_30min, int_I_pres_surface ;copy surfacepressure to deco routine 1386 SAFE_2BYTE_COPY last_surfpressure_30min, int_I_pres_surface ;copy surfacepressure to deco routine