Mercurial > public > hwos_code
diff src/divemode.asm @ 339:692903c50788
minor: fix calc_deko_divemode_sensor
author | heinrichsweikamp |
---|---|
date | Fri, 03 Jul 2015 15:08:15 +0200 |
parents | 2811932b4e99 |
children | 5c6da9fa5cb0 |
line wrap: on
line diff
--- a/src/divemode.asm Fri Jul 03 14:47:04 2015 +0200 +++ b/src/divemode.asm Fri Jul 03 15:08:15 2015 +0200 @@ -373,7 +373,6 @@ movwf apnoe_mins return ; done. -calc_deko_divemode_sensor_done: calc_deko_divemode_sensor: ; External sensor stuff movff opt_ccr_mode,WREG ; =0: Fixed SP, =1: Sensor, =2: Auto SP sublw .1 ; opt_ccr_mode = 1 (Sensor)? @@ -398,6 +397,7 @@ ; No sensor in use -> fallback movff char_I_setpoint_cbar+0,char_I_const_ppO2 ; Setup fixed Setpoint (Always fallback to SP1), overwrite sensor result bsf setpoint_fallback ; =1: Fallback to SP1 due to external O2 sensor failure +calc_deko_divemode_sensor_done: return ;-----------------------------------------------------------------------------