comparison src/divemenu_tree.asm @ 192:efe70488a04b

voting logic for external monitoring
author heinrichsweikamp
date Mon, 03 Nov 2014 17:25:19 +0100
parents 93023d78812e
children 901c10831e4e
comparison
equal deleted inserted replaced
191:d049511b25c6 192:efe70488a04b
62 bra do_exit_divemode_menu ; ...and exit 62 bra do_exit_divemode_menu ; ...and exit
63 63
64 do_switch_to_sensor: 64 do_switch_to_sensor:
65 movlw .1 ; Switch to Sensor 65 movlw .1 ; Switch to Sensor
66 movff WREG,opt_ccr_mode ; =0: Fixed SP, =1: Sensor 66 movff WREG,opt_ccr_mode ; =0: Fixed SP, =1: Sensor
67 bsf voting_logic_sensor1
68 bsf voting_logic_sensor2
69 bsf voting_logic_sensor3
67 bra do_switch_sp2 70 bra do_switch_sp2
68 71
69 do_divemode_resetavr: 72 do_divemode_resetavr:
70 bsf reset_average_depth ; Set Flag 73 bsf reset_average_depth ; Set Flag
71 bra do_exit_divemode_menu ; And exit 74 bra do_exit_divemode_menu ; And exit