forked from len0rd/rockbox
fix off-by-one error when reading spi data
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18530 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f08eed6ec5
commit
95bc9fd596
1 changed files with 1 additions and 1 deletions
|
@ -94,8 +94,8 @@ unsigned int qt1106_io(unsigned int output)
|
||||||
|
|
||||||
SETCLK();
|
SETCLK();
|
||||||
|
|
||||||
input |= MISO;
|
|
||||||
input <<= 1;
|
input <<= 1;
|
||||||
|
input |= MISO;
|
||||||
|
|
||||||
delay(20); // >> 6.7 us
|
delay(20); // >> 6.7 us
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue