From e5319e0e8908628f3417061e49da4d2e7d64a77c Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Mon, 28 Apr 2008 14:33:03 +0000 Subject: 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 --- apps/plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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 { 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 -- cgit v1.2.3