diff code_part1/OSTC_code_asm_part1/divemode.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/divemode.asm	Wed Mar 25 18:24:58 2015 +0100
+++ b/code_part1/OSTC_code_asm_part1/divemode.asm	Tue Apr 14 14:50:11 2015 +0200
@@ -168,7 +168,7 @@
 	call	timeout_divemenu				; Yes, so check for timeout divemenu
 	call	set_leds_divemode				; Sets warnings, if required. Also Sets buzzer
 	btfsc	enter_error_sleep				; Enter Fatal Error Routine?
-	call	fatal_error_sleep				; Yes (In Sleepmode.asm!)
+	goto	fatal_error_sleep				; Yes (In Sleepmode.asm!)
 
 diveloop_loop3:
 	btfss	menubit							; Divemode menu active?