aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/device/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/drivers/device/i2c.h')
-rw-r--r--apps/drivers/device/i2c.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/apps/drivers/device/i2c.h b/apps/drivers/device/i2c.h
index 874b22301..472bf26ab 100644
--- a/apps/drivers/device/i2c.h
+++ b/apps/drivers/device/i2c.h
@@ -84,26 +84,6 @@ protected:
* Check for the presence of the device on the bus.
*/
virtual int probe();
-
- /**
- * Perform an I2C write to the device.
- *
- * @param send Pointer to bytes to send.
- * @param send_len Number of bytes to send.
- * @return OK if the transfer was successful, -errno
- * otherwise.
- */
- int write(const uint8_t *send, unsigned send_len);
-
- /**
- * Perform an I2C read from the device.
- *
- * @param send Pointer to bytes to send.
- * @param send_len Number of bytes to send.
- * @return OK if the transfer was successful, -errno
- * otherwise.
- */
- int read(uint8_t *recv, unsigned recv_len);
/**
* Perform an I2C transaction to the device.