Mercurial > public > hwos_code
diff src/sleepmode.asm @ 200:dcd513840c6c
cleanup
author | heinrichsweikamp |
---|---|
date | Wed, 12 Nov 2014 19:33:15 +0100 |
parents | c511dc403d7e |
children | 618191753d2b |
line wrap: on
line diff
--- a/src/sleepmode.asm Tue Nov 11 16:55:39 2014 +0100 +++ b/src/sleepmode.asm Wed Nov 12 19:33:15 2014 +0100 @@ -125,7 +125,7 @@ btfsc oneminupdate ; one minute in sleep? rcall onemin_sleep ; do oneminute tasks, e.g. calculate desaturation - btfsc c3_hardware + btfsc cr_hardware call get_battery_voltage ; Check for charger incf divemins+0,F ; counts to #test_pressure_in_sleep (5) @@ -145,8 +145,8 @@ btfsc neg_flag ; Wake up from Sleep? bra onesec_sleep1a ; Yes, skip button checks, wake up! - btfsc c3_hardware - bra onesec_sleep1 ; No wake-up with c3 hardware + btfsc cr_hardware + bra onesec_sleep1 ; No wake-up with cR hardware btfsc vusb_in ; USB plugged in? bra onesec_sleep1a ; Yes, skip button checks, wake up!