Mercurial > public > hwos_code
diff src/divemode.asm @ 437:23b58c4bc6aa
CHANGE: Language fixes, 2.08 release
author | heinrichsweikamp |
---|---|
date | Thu, 30 Jun 2016 10:28:12 +0200 |
parents | eccae727702f |
children | d93d75ae01bf |
line wrap: on
line diff
--- a/src/divemode.asm Fri Jun 24 12:51:14 2016 +0200 +++ b/src/divemode.asm Thu Jun 30 10:28:12 2016 +0200 @@ -809,8 +809,8 @@ movff average_depth_hold+3,xC+3 call div32x16 ; xC:4 / xB:2 = xC+3:xC+2 with xC+1:xC+0 as remainder - movff xC+0,avr_rel_pressure+0 - movff xC+1,avr_rel_pressure+1 + movff xC+0,avg_rel_pressure+0 + movff xC+1,avg_rel_pressure+1 btfss divemode2 ; displayed divetime is running? return ; No (e.g. too shallow) @@ -823,8 +823,8 @@ movff average_depth_hold_total+2,xC+2 movff average_depth_hold_total+3,xC+3 call div32x16 ; xC:4 / xB:2 = xC+3:xC+2 with xC+1:xC+0 as remainder - movff xC+0,avr_rel_pressure_total+0 - movff xC+1,avr_rel_pressure_total+1 + movff xC+0,avg_rel_pressure_total+0 + movff xC+1,avg_rel_pressure_total+1 return reset_average1: