Moved away from i2c_result_t to int8_t
This commit is contained in:
@@ -28,16 +28,16 @@ void watch_enable_i2c(void) {}
|
||||
|
||||
void watch_disable_i2c(void) {}
|
||||
|
||||
i2c_result_t watch_i2c_send(int16_t addr, uint8_t *buf, uint16_t length) {
|
||||
return I2C_RESULT_SUCCESS;
|
||||
int8_t watch_i2c_send(int16_t addr, uint8_t *buf, uint16_t length) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
i2c_result_t watch_i2c_receive(int16_t addr, uint8_t *buf, uint16_t length) {
|
||||
return I2C_RESULT_SUCCESS;
|
||||
int8_t watch_i2c_receive(int16_t addr, uint8_t *buf, uint16_t length) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
i2c_result_t watch_i2c_write8(int16_t addr, uint8_t reg, uint8_t data) {
|
||||
return I2C_RESULT_SUCCESS;
|
||||
int8_t watch_i2c_write8(int16_t addr, uint8_t reg, uint8_t data) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint8_t watch_i2c_read8(int16_t addr, uint8_t reg) {
|
||||
|
||||
Reference in New Issue
Block a user