Unless there is some timing issue for the initial read operation it looks
like a finger-stutter (extra line of code what does not much of anything).
At least it does to me.
tom lee wrote:
> Hi there,
> I have a qustion about the spi c code sample.
> Under the sub-function "SPI_TxRx(int b)", why the FIFO read in twice
> in q = (*Reg_FIFO) & 0xffff?
> I got the sample from the site
> thank you.
View this message in context: http://www.nabble.com/About-spi-c-code-sample-tp22912567p22912977.html
Sent from the Gumstix mailing list archive at Nabble.com.