Mercurial > public > hwos_code
diff src/sleepmode.asm @ 235:23311219dacc
under construction: new hardware_flag to configure different hardware versions
author | heinrichsweikamp |
---|---|
date | Wed, 25 Feb 2015 16:49:59 +0100 |
parents | 5a4801918be9 |
children | 653a3ab08062 |
line wrap: on
line diff
--- a/src/sleepmode.asm Wed Feb 25 13:57:30 2015 +0100 +++ b/src/sleepmode.asm Wed Feb 25 16:49:59 2015 +0100 @@ -125,7 +125,7 @@ btfsc oneminupdate ; one minute in sleep? rcall onemin_sleep ; do oneminute tasks, e.g. calculate desaturation - btfsc cr_hardware + btfsc rechargeable call get_battery_voltage ; Check for charger incf divemins+0,F ; counts to #test_pressure_in_sleep (5) @@ -145,7 +145,7 @@ btfsc neg_flag ; Wake up from Sleep? bra onesec_sleep1a ; Yes, skip button checks, wake up! - btfsc cr_hardware + btfsc rechargeable bra onesec_sleep1 ; No wake-up with cR hardware btfsc vusb_in ; USB plugged in? bra onesec_sleep1a ; Yes, skip button checks, wake up!