comparison src/divemode.asm @ 193:901c10831e4e

reset voting logic on sensor switch
author heinrichsweikamp
date Mon, 03 Nov 2014 17:31:03 +0100
parents efe70488a04b
children bca0f054f023
comparison
equal deleted inserted replaced
192:efe70488a04b 193:901c10831e4e
387 call TFT_gf_mask ; Setup Mask 387 call TFT_gf_mask ; Setup Mask
388 clrf WREG 388 clrf WREG
389 movff WREG,char_O_deco_status ; Restart decoplan computation 389 movff WREG,char_O_deco_status ; Restart decoplan computation
390 return 390 return
391 391
392 global divemode_setup_sensor_values
392 divemode_setup_sensor_values: 393 divemode_setup_sensor_values:
393 ; sum up sensor values (in xA:2) and active sensors in (xB:2) 394 ; sum up sensor values (in xA:2) and active sensors in (xB:2)
394 clrf xB+0 395 clrf xB+0
395 clrf xB+1 396 clrf xB+1
396 clrf xA+0 397 clrf xA+0