diff src/sleepmode.asm @ 123:d076e9c02438

add ceiling display
author heinrichsweikamp
date Sun, 29 Jun 2014 13:40:59 +0200
parents d519e24ef990
children 939f1e83c4c2
line wrap: on
line diff
--- a/src/sleepmode.asm	Fri Jun 27 16:55:49 2014 +0200
+++ b/src/sleepmode.asm	Sun Jun 29 13:40:59 2014 +0200
@@ -136,8 +136,10 @@
 	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   vusb_in                 ; USB plugged in?
-	bra		onesec_sleep1a			; Yes, skip button checks, wake up!
+ 	bra		onesec_sleep1a			; Yes, skip button checks, wake up!
 
 onesec_sleep1:
 	bcf		onesecupdate			; all done.