diff code_part1/OSTC_code_asm_part1/surfmode.asm @ 469:f53aa96ff2f4

SPI for sensor in 32MHz
author heinrichsweikamp
date Thu, 06 Oct 2011 23:30:47 +0200
parents 38b38b105782
children c083f5b9168c
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/surfmode.asm	Mon Oct 03 09:38:20 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/surfmode.asm	Thu Oct 06 23:30:47 2011 +0200
@@ -99,6 +99,8 @@
     ; Desaturation time needs:
     ;   int_I_pres_surface
     ;   char_I_desaturation_multiplier
+	movlw	d'0'
+	movff	WREG,char_I_deco_model	    ; ZH-L16
 	GETCUSTOM8	d'12'					; Desaturation multiplier %
 	movff	WREG,char_I_desaturation_multiplier