diff src/eeprom_rs232.asm @ 386:3c55627d5f8f

some cleanups, jump to 1.90 stable
author heinrichsweikamp
date Wed, 07 Oct 2015 14:46:39 +0200
parents 7faa688db105
children b455b31ce022
line wrap: on
line diff
--- a/src/eeprom_rs232.asm	Wed Oct 07 13:14:09 2015 +0200
+++ b/src/eeprom_rs232.asm	Wed Oct 07 14:46:39 2015 +0200
@@ -200,14 +200,14 @@
     clrf    uart3_temp
 rs232_get_byte2:
 	btfsc 	PIR1,RCIF		; data arrived?
-    bra     rs232_get_byte3 ; Yes
+    return                  ; Yes
 	decfsz 	uart3_temp,F
 	bra 	rs232_get_byte2
 	decfsz 	uart2_temp,F
 	bra		rs232_get_byte2
 	decfsz 	uart1_temp,F
 	bra		rs232_get_byte2
-						; timeout occoured (about 40ms)
+						; timeout occoured (about 400ms)
 	bsf		rs232_recieve_overflow		; set flag
 rs232_get_byte3:
 	bcf		RCSTA1,CREN		; Clear receiver status