changeset 7:1ab317814dd7

fix custom text <60 chars
author heinrichsweikamp
date Tue, 14 May 2013 09:24:49 +0200
parents 13cda523891f
children ace40baf13b6
files src/comm.asm src/ostc3.inc
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
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.
--- a/src/ostc3.inc	Fri May 10 15:56:17 2013 +0200
+++ b/src/ostc3.inc	Tue May 14 09:24:49 2013 +0200
@@ -19,7 +19,7 @@
 #include <ports.inc>                        ; Portmap
 
 #DEFINE	softwareversion_x		d'0'		; Software version  XX.YY
-#DEFINE	softwareversion_y		d'92'		; Software version  XX.YY
+#DEFINE	softwareversion_y		d'93'		; Software version  XX.YY
 #DEFINE softwareversion_beta 	0 			; (and 0 for release)
 
 #DEFINE comm_service_key        0xABCDEF