From 921dac55d339f9e95e123755f3f58096c61dce78 Mon Sep 17 00:00:00 2001 From: ian Date: Fri, 30 Dec 2005 17:56:17 +0000 Subject: [PATCH] fix swapping of B1 and B2 test/send bits! --- detpic/detect.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/detpic/detect.asm b/detpic/detect.asm index f2c557f..eeed373 100644 --- a/detpic/detect.asm +++ b/detpic/detect.asm @@ -252,7 +252,7 @@ backgroundloop_detectors @ ;---------- ; buf0 MM zz zz zz zz zz zz zz i2csu_read_begin_detectors - ; detection byte 1 + ; detection byte 1 mov_lw 0xf8 ; W yy yy yy yy yy zz zz zz and_wff scana ; scana 19 09 12 15 18 zz zz zz @@ -264,7 +264,7 @@ i2csu_read_begin_detectors cmp_fw_ifne last1 bs_f buf0,4 ; buf0 MM zz zz B1 zz zz zz zz - ; detection byte 2 + ; detection byte 2 mov_lw 0x83 ; W yy zz zz zz zz zz yy yy and_wff scane ; scane 06 zz zz zz zz zz 03 00 @@ -276,7 +276,7 @@ i2csu_read_begin_detectors cmp_fw_ifne last2 bs_f buf0,5 ; buf0 MM zz B2 B1 zz zz zz zz -; detection and lead byte, 0 + ; detection and lead byte, 0 rlc_fw scanc ; W xx 05 xx xx 10 13 16 08 and_lw 0x4f ; W zz 05 zz zz 10 13 16 08 ior_wfw buf0 ; W MM 05 B2 B1 10 13 16 08 @@ -286,12 +286,12 @@ i2csu_read_begin_detectors rcall new_i2c_outmsg mov_fw scana - bt_f_if1 buf0,5 + bt_f_if1 buf0,4 mov_wf POSTINC2 mov_wf last1 mov_fw scane - bt_f_if1 buf0,4 + bt_f_if1 buf0,5 mov_wf POSTINC2 mov_wf last2 -- 2.30.2