diff options
| author | ailurux <me@dbyron.id.au> | 2023-03-13 15:14:32 +1100 |
|---|---|---|
| committer | ailurux <me@dbyron.id.au> | 2023-03-13 15:14:32 +1100 |
| commit | 78ec09c494faadf9e7d06dc7d3e04531c3a34ff7 (patch) | |
| tree | 7f328e7236492f6bbcc66aea044b5e78fda620cc /src/drivers/include/i2c.hpp | |
| parent | b9a75cd55a11fd404a1977539acb64a6705f3809 (diff) | |
| download | tangara-fw-78ec09c494faadf9e7d06dc7d3e04531c3a34ff7.tar.gz | |
Touchwheel test
Diffstat (limited to 'src/drivers/include/i2c.hpp')
| -rw-r--r-- | src/drivers/include/i2c.hpp | 2 |
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 |
