# HG changeset patch # User heinrichsweikamp # Date 1368192923 -7200 # Node ID ed1dec74d5fdefd3b2fec71473d0a33687048862 # Parent a8108a885359b6fb68842575c6937dfd99431b11 Put logbook offset into dive header diff -r a8108a885359 -r ed1dec74d5fd doc/ostc3_interface.odt Binary file doc/ostc3_interface.odt has changed diff -r a8108a885359 -r ed1dec74d5fd src/ghostwriter.asm --- a/src/ghostwriter.asm Fri May 10 14:33:28 2013 +0200 +++ b/src/ghostwriter.asm Fri May 10 15:35:23 2013 +0200 @@ -594,11 +594,15 @@ rcall ghostwrite_byte_header ; WREG -> Header in ext. flash movff char_O_relative_gradient_GF,WREG rcall ghostwrite_byte_header ; WREG -> Header in ext. flash - ; Spares at Byte 57-60 - movlw 0xFF + + ; Logbook offset + call do_logoffset_common_read; Read into lo:hi + movf lo,W rcall ghostwrite_byte_header ; WREG -> Header in ext. flash - movlw 0xFF + movf hi,W rcall ghostwrite_byte_header ; WREG -> Header in ext. flash + + ; Spare at Byte 60 movlw 0xFF rcall ghostwrite_byte_header ; WREG -> Header in ext. flash ; Store 5 Setpoints diff -r a8108a885359 -r ed1dec74d5fd src/ostc3.inc --- a/src/ostc3.inc Fri May 10 14:33:28 2013 +0200 +++ b/src/ostc3.inc Fri May 10 15:35:23 2013 +0200 @@ -19,7 +19,7 @@ #include ; Portmap #DEFINE softwareversion_x d'0' ; Software version XX.YY -#DEFINE softwareversion_y d'91' ; Software version XX.YY +#DEFINE softwareversion_y d'92' ; Software version XX.YY #DEFINE softwareversion_beta 0 ; (and 0 for release) #DEFINE comm_service_key 0xABCDEF