The unified diff between revisions [d8ed90db..] and [b85a3bbc..] 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 [b85a3bbccc40f21e02f50101af764be93eeb9538] # # patch "i2c.h" # from [09080fbdf2bd47fbbda12a8e5998e5e4769ea8ed] # to [bcffa252b76002931a95d727ede2f201d1a6f614] # ============================================================ --- i2c.h 09080fbdf2bd47fbbda12a8e5998e5e4769ea8ed +++ i2c.h bcffa252b76002931a95d727ede2f201d1a6f614 @@ -1,3 +1,6 @@ +#ifndef __I2C_H +#define __I2C_H + #include "types.h" void init_i2c(void); extern int i2cstat; @@ -8,4 +11,7 @@ bool i2c_send_data(int data); bool i2c_send_start(void); bool i2c_send_address(int addr, bool write); bool i2c_send_data(int data); +bool i2c_receive_data(int *data, bool last); void i2c_send_stop(void); + +#endif /* __I2C_H */