aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/fx2/common/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/fx2/common/i2c.h')
-rw-r--r--firmware/fx2/common/i2c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/fx2/common/i2c.h b/firmware/fx2/common/i2c.h
index 273526dad..25f536414 100644
--- a/firmware/fx2/common/i2c.h
+++ b/firmware/fx2/common/i2c.h
@@ -24,9 +24,9 @@
#define _I2C_H_
// returns non-zero if successful, else 0
-unsigned char i2c_read (unsigned char addr, xdata unsigned char *buf, unsigned char len);
+unsigned char i2c_read (unsigned char addr, __xdata unsigned char *buf, unsigned char len);
// returns non-zero if successful, else 0
-unsigned char i2c_write (unsigned char addr, xdata const unsigned char *buf, unsigned char len);
+unsigned char i2c_write (unsigned char addr, __xdata const unsigned char *buf, unsigned char len);
#endif /* _I2C_H_ */