forked from len0rd/rockbox
Fixed a dead lock, file handle leak that caused wps to jam and
selected a smaller i2c timeout value. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6707 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
58c71e0e36
commit
ef72f99681
4 changed files with 14 additions and 12 deletions
|
@ -31,7 +31,7 @@ int i2c_write(int device, unsigned char *buf, int count);
|
|||
void i2c_close(void);
|
||||
|
||||
|
||||
#define MAX_LOOP 0x10000 /* TODO: select a better value */
|
||||
#define MAX_LOOP 0x100 /* TODO: select a better value */
|
||||
|
||||
/* PLLCR control */
|
||||
#define QSPISEL (1 << 11) /* Selects QSPI or I2C interface */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue