diff code_part1/OSTC_code_asm_part1/surfmode.asm @ 813:c87b9f2fb2f6

wakeup from deep sleep mode automatically upon USB connect
author heinrichsweikamp
date Tue, 14 Apr 2015 14:50:11 +0200
parents c50296c3059e
children 2a0e5d884fc3
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/surfmode.asm	Wed Mar 25 18:24:58 2015 +0100
+++ b/code_part1/OSTC_code_asm_part1/surfmode.asm	Tue Apr 14 14:50:11 2015 +0200
@@ -143,7 +143,7 @@
     call    DISP_display_gf_surface     ; Display GF (if > CF8).
 
     btfsc	enter_error_sleep			; Enter Fatal Error Routine?
-    call	fatal_error_sleep			; Yes (In Sleepmode.asm!)
+    goto	fatal_error_sleep			; Yes (In Sleepmode.asm!)
     bcf		onesecupdate				; every second tasks done
 	
 surfloop_loop2: