The unified diff between revisions [d8ed90db..] and [dea51752..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'i2c.h'

#
# old_revision [d8ed90db2d4284a290224447c40a0d9cef3fbc31]
# new_revision [dea51752ff3061ddca80de6685b04dac53ac77e1]
#
# patch "i2c.h"
#  from [09080fbdf2bd47fbbda12a8e5998e5e4769ea8ed]
#    to [383d50d6e5547f52b22d5a878835d6c21926f031]
#
============================================================
--- i2c.h	09080fbdf2bd47fbbda12a8e5998e5e4769ea8ed
+++ i2c.h	383d50d6e5547f52b22d5a878835d6c21926f031
@@ -1,3 +1,6 @@
+#ifndef __I2C_H
+#define __I2C_H
+
 #include "types.h"
 void init_i2c(void);
 extern int i2cstat;
@@ -7,5 +10,8 @@ bool i2c_send_address(int addr, bool wri
 int i2c_statreg(void);
 bool i2c_send_start(void);
 bool i2c_send_address(int addr, bool write);
-bool i2c_send_data(int data);
+bool i2c_send_data(unsigned int data);
+bool i2c_receive_data(unsigned int *data, bool last);
 void i2c_send_stop(void);
+
+#endif /* __I2C_H */