comparison src/sleepmode.asm @ 501:69a98f3f3b84

minor
author heinrichsweikamp
date Mon, 22 May 2017 23:03:21 +0200
parents beeac8806b93
children b7eb98dbd800
comparison
equal deleted inserted replaced
500:989917fe2d9f 501:69a98f3f3b84
56 call I2C_sleep_accelerometer 56 call I2C_sleep_accelerometer
57 call I2C_sleep_compass 57 call I2C_sleep_compass
58 btfss analog_switches 58 btfss analog_switches
59 bra sleeploop_loop ; no analog switches 59 bra sleeploop_loop ; no analog switches
60 60
61 bsf power_sw1 61 bsf power_sw1
62 bsf power_sw2 62 btfss power_sw1
63 bra $-4
64 bsf power_sw2
65 btfss power_sw2
66 bra $-4
63 movlw .4 ; Wait for button circuity 67 movlw .4 ; Wait for button circuity
64 movwf apnoe_max_pressure+0 ; Used as temp 68 movwf apnoe_max_pressure+0 ; Used as temp
65 bcf onesecupdate 69 bcf onesecupdate
66 sleeploop_pre1: 70 sleeploop_pre1:
67 rcall sleepmode_sleep 71 rcall sleepmode_sleep