From ef72f996814301fc0ed9cc358f620e67a81486f7 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Tue, 14 Jun 2005 14:36:46 +0000 Subject: 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 --- firmware/export/i2c-h100.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export/i2c-h100.h') diff --git a/firmware/export/i2c-h100.h b/firmware/export/i2c-h100.h index f8fd423b7e..5647b502db 100644 --- a/firmware/export/i2c-h100.h +++ b/firmware/export/i2c-h100.h @@ -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 */ -- cgit v1.2.3