summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-04-28 14:33:03 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-04-28 14:33:03 +0000
commite5319e0e8908628f3417061e49da4d2e7d64a77c (patch)
treeddc8adbb8af160e0f011182123d2340697e73b40 /apps/plugin.h
parentc97e503a1077d10ddeb4a5283f9d112ee2805429 (diff)
downloadrockbox-e5319e0e8908628f3417061e49da4d2e7d64a77c.tar.gz
rockbox-e5319e0e8908628f3417061e49da4d2e7d64a77c.zip
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 461966e8bd..d332a0d004 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -555,7 +555,7 @@ struct plugin_api {
555 int (*mas_codec_readreg)(int reg); 555 int (*mas_codec_readreg)(int reg);
556 void (*i2c_begin)(void); 556 void (*i2c_begin)(void);
557 void (*i2c_end)(void); 557 void (*i2c_end)(void);
558 int (*i2c_write)(int address, unsigned char* buf, int count ); 558 int (*i2c_write)(int address, const unsigned char* buf, int count );
559#endif 559#endif
560#endif 560#endif
561 561