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:
XANTRONIX Development 2016-06-05 00:33:10 -05:00
parent fa4b6ae020
commit d670c605a1

View file

@ -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() {