diff options
author | Christian Pointner <equinox@spreadspace.org> | 2013-08-12 12:58:40 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2013-08-12 12:58:40 +0000 |
commit | f9e762f6fdc68eff667145b12abb563418f26b1e (patch) | |
tree | 957918bdf30aba3fb652aac03f8b2f696e46fd67 /bootloader/com-16f887-spi.inc | |
parent | less invasive clean (diff) |
deassert INT pin before wait for SS
git-svn-id: https://svn.spreadspace.org/pic/trunk@101 a09c6847-51d9-44de-8ef2-e725cf50f3c7
Diffstat (limited to 'bootloader/com-16f887-spi.inc')
-rw-r--r-- | bootloader/com-16f887-spi.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/com-16f887-spi.inc b/bootloader/com-16f887-spi.inc index 800b1da..051c275 100644 --- a/bootloader/com-16f887-spi.inc +++ b/bootloader/com-16f887-spi.inc @@ -30,11 +30,11 @@ com_tx_byte_wait1 btfss SSPSTAT,BF goto com_tx_byte_wait1 bcf STATUS,RP0 + movf SSPBUF,w + bsf INTPIN com_tx_byte_wait2 ; also wait for SS to go up again btfss PORTA,5 ; this lowers the risk for raise conditions goto com_tx_byte_wait2 ; with next byte (INT pin) - movf SSPBUF,w - bsf INTPIN return ;; ---- wait for byte to be received |