From 9287c4eb8c60cc89251a1d2bdfe9c576d81d6715 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Thu, 20 Jul 2023 22:12:17 +1000 Subject: 5.1 fixes --- src/drivers/include/i2c.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/include/i2c.hpp') diff --git a/src/drivers/include/i2c.hpp b/src/drivers/include/i2c.hpp index bc6b3686..213fb7b3 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(uint8_t port = I2C_NUM_0); + esp_err_t Execute(i2c_port_t port = I2C_NUM_0); /* * Enqueues a start condition. May also be used for repeated start -- cgit v1.2.3