1
0
Fork 0
forked from len0rd/rockbox

Dummy i2c_init() for iRiver not needed anymore

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6205 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2005-03-18 11:35:52 +00:00
parent b8577dd582
commit c11aa538bd

View file

@ -23,8 +23,6 @@
#include "debug.h" #include "debug.h"
#include "system.h" #include "system.h"
#if CONFIG_I2C != I2C_H100 /* FIX: not yet done */
/* cute little functions, atomic read-modify-write */ /* cute little functions, atomic read-modify-write */
#if CONFIG_I2C == I2C_GMINI #if CONFIG_I2C == I2C_GMINI
@ -281,9 +279,3 @@ int i2c_read(int address, unsigned char* buf, int count )
i2c_stop(); i2c_stop();
return x; return x;
} }
#else /* not h100 i2c */
void i2c_init(void)
{
/* a dummy */
}
#endif /* h100 i2c */