diff src/ghostwriter.asm @ 6:13cda523891f

bugfix: dive length in normal header
author heinrichsweikamp
date Fri, 10 May 2013 15:56:17 +0200
parents ed1dec74d5fd
children e402813343b6
line wrap: on
line diff
--- a/src/ghostwriter.asm	Fri May 10 15:35:23 2013 +0200
+++ b/src/ghostwriter.asm	Fri May 10 15:56:17 2013 +0200
@@ -336,11 +336,11 @@
     incf_ext_flash_address_0x20	d'6'        ; Skip internal "0xFA 0xFA #Divenumber:2 0xFA 0xFA" Header
     ; Store dive length
     movf   ext_flash_dive_counter+0,W
-	rcall	ghostwrite_byte_profile 	; WREG -> Profile in ext. flash
+	call    write_byte_ext_flash_plus_nocnt ; WREG -> Profile in ext. flash (No ext_flash_dive_counter:3 increase)
     movf   ext_flash_dive_counter+1,W
-	rcall	ghostwrite_byte_profile 	; WREG -> Profile in ext. flash
+	call    write_byte_ext_flash_plus_nocnt ; WREG -> Profile in ext. flash (No ext_flash_dive_counter:3 increase)
     movf   ext_flash_dive_counter+2,W
-	rcall	ghostwrite_byte_profile 	; WREG -> Profile in ext. flash
+	call    write_byte_ext_flash_plus_nocnt ; WREG -> Profile in ext. flash (No ext_flash_dive_counter:3 increase)
 
 ; profile recording done.