diff src/comm.asm @ 391:682199d87b5c

add profile version to compact headers
author heinrichsweikamp
date Mon, 02 Nov 2015 17:48:20 +0100
parents 7faa688db105
children 9e5abca93c32
line wrap: on
line diff
--- a/src/comm.asm	Wed Oct 28 10:40:56 2015 +0100
+++ b/src/comm.asm	Mon Nov 02 17:48:20 2015 +0100
@@ -622,8 +622,11 @@
     call	ext_flash_read_block_stop
     rcall	comm_rs232_wait_tx				; Wait for UART
 
-    movlw   0xFF    ; Spare
-    movwf   TXREG1
+    ; Offset to Logbook-Profile version
+	movlw	.8
+	movwf	ext_flash_address+0
+    call	ext_flash_byte_read         	; Get byte
+    movwf	TXREG1
     rcall	comm_rs232_wait_tx				; Wait for UART
 	bra		comm_send_compact_headers2		; continue