diff options
| author | Bertrik Sikken <bertrik@sikken.nl> | 2008-04-28 14:33:03 +0000 |
|---|---|---|
| committer | Bertrik Sikken <bertrik@sikken.nl> | 2008-04-28 14:33:03 +0000 |
| commit | e5319e0e8908628f3417061e49da4d2e7d64a77c (patch) | |
| tree | ddc8adbb8af160e0f011182123d2340697e73b40 /apps/plugin.h | |
| parent | c97e503a1077d10ddeb4a5283f9d112ee2805429 (diff) | |
| download | rockbox-e5319e0e8908628f3417061e49da4d2e7d64a77c.zip rockbox-e5319e0e8908628f3417061e49da4d2e7d64a77c.tar.gz rockbox-e5319e0e8908628f3417061e49da4d2e7d64a77c.tar.bz2 rockbox-e5319e0e8908628f3417061e49da4d2e7d64a77c.tar.xz | |
Fixed prototype of i2c_write for plugins and for i2c-telechips (fix red/yellow).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17277 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 461966e..d332a0d 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -555,7 +555,7 @@ struct plugin_api { int (*mas_codec_readreg)(int reg); void (*i2c_begin)(void); void (*i2c_end)(void); - int (*i2c_write)(int address, unsigned char* buf, int count ); + int (*i2c_write)(int address, const unsigned char* buf, int count ); #endif #endif |