Sansa Connect: Use sleep() instead udelay() in AVR spi_txrx.

This should prevent buffer underruns that can occur during heavy use of buttons or scrollwheel.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31267 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tomasz Moń 2011-12-15 15:33:53 +00:00
parent 89aec97f3d
commit ddd594b03e
6 changed files with 18 additions and 8 deletions

View file

@ -24,6 +24,7 @@
#include "config.h"
void avr_hid_sync(void);
void avr_hid_init(void);
void avr_hid_enable_charger(void);