Mercurial > public > hwos_code
diff src/ms5541.asm @ 178:39f6c07ce2f6
BUGFIX: Average depth computation
author | heinrichsweikamp |
---|---|
date | Tue, 07 Oct 2014 13:45:21 +0200 |
parents | 7ca1105751c7 |
children | ad62dff7739a |
line wrap: on
line diff
--- a/src/ms5541.asm Tue Oct 07 08:42:38 2014 +0200 +++ b/src/ms5541.asm Tue Oct 07 13:45:21 2014 +0200 @@ -169,10 +169,9 @@ addwfc isr_xC+2,F pressure_extra_common: - banksel common + banksel common ; flag2 is in bank 1 btfss simulatormode_active ; are we in simulator mode? bra calc_compensation_2 ; no - banksel isr_backup movff sim_pressure+0,isr_xC+1 ; override readings with simulator values movff sim_pressure+1,isr_xC+2