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

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

#
# old_revision [b85a3bbccc40f21e02f50101af764be93eeb9538]
# new_revision [5ddceb38e22c73a2d7c630837716676d5ff14a38]
#
# patch "i2c.c"
#  from [aa38cfd51b998ec3960be6052827278b26edcc40]
#    to [1d978ba6c211e6b68c567fa852d9cbefe8ebad13]
#
============================================================
--- i2c.c	aa38cfd51b998ec3960be6052827278b26edcc40
+++ i2c.c	1d978ba6c211e6b68c567fa852d9cbefe8ebad13
@@ -79,7 +79,7 @@ bool i2c_send_address(int addr, bool wri
 	return i2c_send_data((addr<<1) + (write?0:1));
 }
 
-bool i2c_send_data(int data)
+bool i2c_send_data(unsigned int data)
 {
 	IREG(I2DAT) = data;
 	IREG(I2CONCLR) = STAFLAG | STOFLAG | SIFLAG;
@@ -94,7 +94,7 @@ bool i2c_send_data(int data)
 	}
 }
 
-bool i2c_receive_data(int *data, bool last)
+bool i2c_receive_data(unsigned int *data, bool last)
 {
 	if (!last)
 		IREG(I2CONSET) = AAFLAG;