comparison 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
comparison
equal deleted inserted replaced
275:653a3ab08062 276:e4cb495aed3d
232 bra check_firmware_new2 232 bra check_firmware_new2
233 233
234 global restart 234 global restart
235 restart: 235 restart:
236 clrf STKPTR ; Never return from here 236 clrf STKPTR ; Never return from here
237 clrf CCP1CON ; stop PWM
238 bcf PORTC,2 ; Pull PWM out to GND
239
237 extern option_save_all, option_check_all 240 extern option_save_all, option_check_all
238 241
239 btfsc menubit ; Return from Menu/COMM mode or timeout? 242 btfsc menubit ; Return from Menu/COMM mode or timeout?
240 call option_save_all ; Yes, save all settings into EEPROM 243 call option_save_all ; Yes, save all settings into EEPROM
241 244