summaryrefslogtreecommitdiff
path: root/src/drivers/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/include')
-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 213fb7b3..0dc1e7c0 100644
--- a/src/drivers/include/i2c.hpp
+++ b/src/drivers/include/i2c.hpp
@@ -41,7 +41,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(i2c_port_t port = I2C_NUM_0);
+ esp_err_t Execute(int num_retries = 0);
/*
* Enqueues a start condition. May also be used for repeated start