summaryrefslogtreecommitdiff
path: root/drivers/arm
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-12-22 05:50:08 -0800
committerJoel Challis <git@zvecr.com>2019-12-22 13:50:08 +0000
commit70661645917cc9a8e492abb82828c55cf137b834 (patch)
tree1d24f6801e4335e927fdb364f41f3eb7770504a1 /drivers/arm
parent0e2ff9b384fa2ec10d2555ef2e87915f453cecab (diff)
Completely remove i2c_transmit_receive function (#7686)
* Add i2c_transmit_receive function This function is listed in the ARM header file, but doesn't actually exist. * Remove i2c_transmit_receive function * Update DRV2605L read function to use i2c_readReg on both arm and avr
Diffstat (limited to 'drivers/arm')
-rw-r--r--drivers/arm/i2c_master.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/arm/i2c_master.h b/drivers/arm/i2c_master.h
index 346513ad80..3d3891289f 100644
--- a/drivers/arm/i2c_master.h
+++ b/drivers/arm/i2c_master.h
@@ -101,7 +101,6 @@ void i2c_init(void);
i2c_status_t i2c_start(uint8_t address);
i2c_status_t i2c_transmit(uint8_t address, const uint8_t* data, uint16_t length, uint16_t timeout);
i2c_status_t i2c_receive(uint8_t address, uint8_t* data, uint16_t length, uint16_t timeout);
-i2c_status_t i2c_transmit_receive(uint8_t address, uint8_t* tx_body, uint16_t tx_length, uint8_t* rx_body, uint16_t rx_length);
i2c_status_t i2c_writeReg(uint8_t devaddr, uint8_t regaddr, const uint8_t* data, uint16_t length, uint16_t timeout);
i2c_status_t i2c_readReg(uint8_t devaddr, uint8_t regaddr, uint8_t* data, uint16_t length, uint16_t timeout);
void i2c_stop(void);