Mercurial > public > hwos_code
comparison src/ghostwriter.asm @ 279:62c7af4795b0
bugfix wrong profile length in header
author | heinrichsweikamp |
---|---|
date | Tue, 26 May 2015 12:38:17 +0200 |
parents | dfac47ac2e1d |
children | 9175429bdeba |
comparison
equal
deleted
inserted
replaced
278:dfac47ac2e1d | 279:62c7af4795b0 |
---|---|
889 ; - 0xFF can be overwritten after the dive | 889 ; - 0xFF can be overwritten after the dive |
890 ; - ghostwrite_byte_profile takes care of 4kB Page switching | 890 ; - ghostwrite_byte_profile takes care of 4kB Page switching |
891 ; - fixes an issue when we are at exactly 0xXXX000 here... | 891 ; - fixes an issue when we are at exactly 0xXXX000 here... |
892 | 892 |
893 movlw 0xFF | 893 movlw 0xFF |
894 rcall ghostwrite_byte_profile ; WREG -> Profile in ext. flash | 894 call write_byte_ext_flash_plus_nocnt ; WREG -> Profile in ext. flash (No ext_flash_dive_counter:3 increase) |
895 movlw 0xFF | 895 movlw 0xFF |
896 rcall ghostwrite_byte_profile ; WREG -> Profile in ext. flash | 896 call write_byte_ext_flash_plus_nocnt ; WREG -> Profile in ext. flash (No ext_flash_dive_counter:3 increase) |
897 movlw 0xFF | 897 movlw 0xFF |
898 rcall ghostwrite_byte_profile ; WREG -> Profile in ext. flash | 898 call write_byte_ext_flash_plus_nocnt ; WREG -> Profile in ext. flash (No ext_flash_dive_counter:3 increase) |
899 | 899 |
900 movf samplingrate,W ; Sampling rate | 900 movf samplingrate,W ; Sampling rate |
901 btfsc FLAG_apnoe_mode ; Apnoe mode? | 901 btfsc FLAG_apnoe_mode ; Apnoe mode? |
902 movlw samplingrate_apnoe ; Apnoe sampling rate | 902 movlw samplingrate_apnoe ; Apnoe sampling rate |
903 rcall ghostwrite_byte_profile ; WREG -> Profile in ext. flash | 903 rcall ghostwrite_byte_profile ; WREG -> Profile in ext. flash |