comparison src/sleepmode.asm @ 121:d519e24ef990

minor
author heinrichsweikamp
date Fri, 27 Jun 2014 16:15:07 +0200
parents e2f04bb2539c
children d076e9c02438
comparison
equal deleted inserted replaced
120:e2f04bb2539c 121:d519e24ef990
114 114
115 bcf oneminupdate ; all done 115 bcf oneminupdate ; all done
116 return 116 return
117 117
118 onesec_sleep: 118 onesec_sleep:
119 btfss c3_hardware 119 btfsc c3_hardware
120 call get_battery_voltage ; Check for charger 120 call get_battery_voltage ; Check for charger
121 121
122 incf divemins+0,F ; counts to #test_pressure_in_sleep (5) 122 incf divemins+0,F ; counts to #test_pressure_in_sleep (5)
123 movlw d'5' 123 movlw d'5'
124 cpfsgt divemins+0 ; here: temp variable 124 cpfsgt divemins+0 ; here: temp variable