Mercurial > public > hwos_code
comparison src/simulator.asm @ 94:f2201aa374db
BUGFIX: compass calibration does now timeout automatically after 60s
BUGFIX: decoplan re-calculation in bailout case
author | heinrichsweikamp |
---|---|
date | Tue, 22 Apr 2014 12:59:14 +0200 |
parents | 8e13866b5496 |
children | 53a99a2dc6a1 |
comparison
equal
deleted
inserted
replaced
93:5e1ef9bf32ec | 94:f2201aa374db |
---|---|
270 movff WREG,char_I_deco_N2_ratio+4 | 270 movff WREG,char_I_deco_N2_ratio+4 |
271 movff opt_gas_type+4,WREG ; 0=Disabled, 1=First, 2=Travel, 3=Deco | 271 movff opt_gas_type+4,WREG ; 0=Disabled, 1=First, 2=Travel, 3=Deco |
272 tstfsz WREG ; Disabled? | 272 tstfsz WREG ; Disabled? |
273 bra $+4 ; No | 273 bra $+4 ; No |
274 movff WREG,char_I_deco_gas_change+4 ; Yes, clear char_I_deco_gas_change | 274 movff WREG,char_I_deco_gas_change+4 ; Yes, clear char_I_deco_gas_change |
275 nop | |
276 | |
277 movlw .0 | |
278 movff WREG,char_I_const_ppO2 ; Clear constant ppO2 for OC/bailout | |
275 return | 279 return |
276 | 280 |
277 ;============================================================================= | 281 ;============================================================================= |
278 ; Reset decompression tissues | 282 ; Reset decompression tissues |
279 ; | 283 ; |