As it turns out, not putting 244µs between packets makes things unreliable sometimes; Nintendo was really saying that the interval between the start of two packets should be >=270µs, not that there should be a period of silence that long
This commit is contained in:
parent
fa4b6ae020
commit
d670c605a1
1 changed files with 0 additions and 2 deletions
|
@ -101,8 +101,6 @@ static void spi_send_packet() {
|
||||||
|
|
||||||
response.device = spi_send_byte(0);
|
response.device = spi_send_byte(0);
|
||||||
response.status = spi_send_byte(0);
|
response.status = spi_send_byte(0);
|
||||||
|
|
||||||
_delay_us(244);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue