comparison src/ghostwriter.asm @ 521:06e9370c6d75

CHANGE: Apply safety margin parameters to both models (GF and non-GF) Put B?hlmann constants in code for readability Fix unused gas warning (Do not warn)
author heinrichsweikamp
date Fri, 04 Aug 2017 16:01:28 +0200
parents 4542d03f748a
children cf68fe0c3002
comparison
equal deleted inserted replaced
520:1d74d6221084 521:06e9370c6d75
621 movff CNS_start+1,WREG 621 movff CNS_start+1,WREG
622 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash 622 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash
623 ; Gradient factor 623 ; Gradient factor
624 movff GF_start,WREG 624 movff GF_start,WREG
625 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash 625 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash
626 movff char_O_relative_gradient_GF,WREG 626 movff char_O_gradient_factor,WREG
627 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash 627 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash
628 628
629 ; Logbook offset 629 ; Logbook offset
630 call do_logoffset_common_read; Read into lo:hi 630 call do_logoffset_common_read; Read into lo:hi
631 movf lo,W 631 movf lo,W