summaryrefslogtreecommitdiff
path: root/firmware/target/sh/archos/i2c-archos.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/sh/archos/i2c-archos.c')
-rw-r--r--firmware/target/sh/archos/i2c-archos.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/sh/archos/i2c-archos.c b/firmware/target/sh/archos/i2c-archos.c
index b3a53240b4..5b415926f2 100644
--- a/firmware/target/sh/archos/i2c-archos.c
+++ b/firmware/target/sh/archos/i2c-archos.c
@@ -234,6 +234,7 @@ int i2c_write(int address, const unsigned char* buf, int count )
234 return x; 234 return x;
235} 235}
236 236
237#if 0 /* Currently unused, left for reference and future use */
237int i2c_read(int address, unsigned char* buf, int count ) 238int i2c_read(int address, unsigned char* buf, int count )
238{ 239{
239 int i,x=0; 240 int i,x=0;
@@ -250,3 +251,4 @@ int i2c_read(int address, unsigned char* buf, int count )
250 i2c_stop(); 251 i2c_stop();
251 return x; 252 return x;
252} 253}
254#endif