diff src/comm.asm @ 7:1ab317814dd7

fix custom text <60 chars
author heinrichsweikamp
date Tue, 14 May 2013 09:24:49 +0200
parents 11d4fc797f74
children ec4d8503ec45
line wrap: on
line diff
--- a/src/comm.asm	Fri May 10 15:56:17 2013 +0200
+++ b/src/comm.asm	Tue May 14 09:24:49 2013 +0200
@@ -624,11 +624,11 @@
 comm_set_ctext_loop:
     call	rs232_get_byte
     btfsc	rs232_recieve_overflow          ; Got byte?
-    return                                  ; No, abort!
-    movff	RCREG1,POSTINC2                  ; Store character
+    bra		comm_download_mode0             ; No, loop with timeout reset
+    movff	RCREG1,POSTINC2                 ; Store character
     decfsz	lo,F
     bra		comm_set_ctext_loop
-    bra		comm_download_mode0        ; Done. Loop with timeout reset
+    bra		comm_download_mode0             ; Done. Loop with timeout reset
 
 ;-----------------------------------------------------------------------------
 ; Reply Serial (2 bytes low:high), firmware (major.minor) and custom text.