Mercurial > public > hwos_code
diff src/surfmode.asm @ 375:a9e35c1327aa
1.88 release, BUGFIX: Start with Sensor use from sleep (cR only), CHANGE: Apply button settings when button menu is closed, NEW: Reset button settings on a magnet reset (cR and OSTC 2)
author | heinrichsweikamp |
---|---|
date | Thu, 27 Aug 2015 17:05:13 +0200 |
parents | 043890f06bce |
children | 6f3530eb48f9 |
line wrap: on
line diff
--- a/src/surfmode.asm Tue Aug 25 14:22:55 2015 +0200 +++ b/src/surfmode.asm Thu Aug 27 17:05:13 2015 +0200 @@ -89,8 +89,6 @@ movlw surface_sp ; in cbar call transmit_setpoint ; Transmit current setpoint from WREG (in cbar) to external electronics - btfsc rechargeable - call piezo_config ; Configure buttons clrf timeout_counter2 clrf timeout_counter3 @@ -146,6 +144,8 @@ call TFT_update_surf_press ; display surface pressure call TFT_temp_surfmode ; Displays temperature call TFT_display_decotype_surface + call compute_ppo2 ; compute mv_sensorX and ppo2_sensorX arrays + call check_sensors ; Set enable/disable flags movff opt_dive_mode,lo ; 0=OC, 1=CC, 2=Gauge, 3=Apnea tstfsz lo