summaryrefslogtreecommitdiff
path: root/src/drivers/include/i2c.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/include/i2c.hpp')
-rw-r--r--src/drivers/include/i2c.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/include/i2c.hpp b/src/drivers/include/i2c.hpp
index dbdd8a11..811c9333 100644
--- a/src/drivers/include/i2c.hpp
+++ b/src/drivers/include/i2c.hpp
@@ -35,7 +35,7 @@ class I2CTransaction {
* ESP_ERR_INVALID_STATE I2C driver not installed or not in master mode.
* ESP_ERR_TIMEOUT Operation timeout because the bus is busy.
*/
- esp_err_t Execute();
+ esp_err_t Execute(uint8_t port = I2C_NUM_0);
/*
* Enqueues a start condition. May also be used for repeated start