forked from len0rd/rockbox
provide coldfire dummies to build for iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5743 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
36355a5c66
commit
b794f30d20
2 changed files with 16 additions and 1 deletions
|
|
@ -23,6 +23,8 @@
|
|||
#include "debug.h"
|
||||
#include "system.h"
|
||||
|
||||
#if CONFIG_I2C != I2C_H100 /* FIX: not yet done */
|
||||
|
||||
/* cute little functions, atomic read-modify-write */
|
||||
#if CONFIG_I2C == I2C_GMINI
|
||||
|
||||
|
|
@ -279,3 +281,9 @@ int i2c_read(int address, unsigned char* buf, int count )
|
|||
i2c_stop();
|
||||
return x;
|
||||
}
|
||||
#else /* not h100 i2c */
|
||||
void i2c_init(void)
|
||||
{
|
||||
/* a dummy */
|
||||
}
|
||||
#endif /* h100 i2c */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue