comparison src/comm.asm @ 200:dcd513840c6c

cleanup
author heinrichsweikamp
date Wed, 12 Nov 2014 19:33:15 +0100
parents 95d05cc14736
children 8fbd8c5ac51f
comparison
equal deleted inserted replaced
199:800f09c9089c 200:dcd513840c6c
92 bcf onesecupdate 92 bcf onesecupdate
93 bcf LEDr 93 bcf LEDr
94 dcfsnz timeout_counter,F 94 dcfsnz timeout_counter,F
95 bra comm_service_exit ; Timeout -> Exit 95 bra comm_service_exit ; Timeout -> Exit
96 comm_mode2: 96 comm_mode2:
97 btfsc c3_hardware 97 btfsc cr_hardware
98 bra comm_mode4 ; Skip 98 bra comm_mode4 ; Skip
99 99
100 call get_battery_voltage ; gets battery voltage 100 call get_battery_voltage ; gets battery voltage
101 movlw .3 101 movlw .3
102 cpfslt batt_voltage+1 ; Batt Voltage less then 3*256mV? 102 cpfslt batt_voltage+1 ; Batt Voltage less then 3*256mV?