diff src/start.asm @ 276:e4cb495aed3d

Increase byte timeout in PC download mode, faster response to "Exit" in main menu
author heinrichsweikamp
date Tue, 12 May 2015 14:24:46 +0200
parents 653a3ab08062
children eb758a5b44eb
line wrap: on
line diff
--- a/src/start.asm	Thu May 07 13:11:14 2015 +0200
+++ b/src/start.asm	Tue May 12 14:24:46 2015 +0200
@@ -234,6 +234,9 @@
 	global	restart	
 restart:
     clrf    STKPTR                  ; Never return from here
+    clrf	CCP1CON					; stop PWM
+	bcf		PORTC,2					; Pull PWM out to GND
+
 	extern	option_save_all, option_check_all
 
 	btfsc	menubit					; Return from Menu/COMM mode or timeout?