Mercurial > public > hwos_code
comparison src/divemode.asm @ 161:99065ef2d18e
skip fallback warning in OC modes
author | heinrichsweikamp |
---|---|
date | Tue, 09 Sep 2014 16:50:29 +0200 |
parents | 99ac325586ce |
children | 8bcb064b4fb8 |
comparison
equal
deleted
inserted
replaced
160:99ac325586ce | 161:99065ef2d18e |
---|---|
294 extern deco_setup_dive | 294 extern deco_setup_dive |
295 call deco_setup_dive ; Pass all parameters to the C code | 295 call deco_setup_dive ; Pass all parameters to the C code |
296 | 296 |
297 bcf setpoint_fallback ; =1: Fallback to SP1 due to external O2 sensor failure | 297 bcf setpoint_fallback ; =1: Fallback to SP1 due to external O2 sensor failure |
298 | 298 |
299 btfss FLAG_ccr_mode ; In CCR mode? | |
300 bra calc_deko_divemode2a ; Skip all the following if not in CCR mode | |
301 | |
299 TSTOSS opt_ccr_mode ; =0: Fixed SP, =1: Sensor | 302 TSTOSS opt_ccr_mode ; =0: Fixed SP, =1: Sensor |
300 bra calc_deko_divemode2a | 303 bra calc_deko_divemode2a |
301 rcall divemode_setup_sensor_values ; Setup sensor values | 304 rcall divemode_setup_sensor_values ; Setup sensor values |
302 movff sensor_setpoint,char_I_const_ppO2; Copy sensor result | 305 movff sensor_setpoint,char_I_const_ppO2; Copy sensor result |
303 | 306 |