From 70a963ae6d8a8db806106096c755acd5f4cb4633 Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Tue, 26 Apr 2022 15:58:10 +0200 Subject: [PATCH] fix for issue #858 --- src/i2c.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i2c.cpp b/src/i2c.cpp index 0080dd5d..cc13910f 100644 --- a/src/i2c.cpp +++ b/src/i2c.cpp @@ -49,7 +49,7 @@ void i2c_scan(void) { ESP_LOGI(TAG, "Starting I2C bus scan..."); memset(&bbi2c, 0, sizeof(bbi2c)); - bbi2c.bWire = 0; + bbi2c.bWire = 1; bbi2c.iSDA = MY_DISPLAY_SDA; bbi2c.iSCL = MY_DISPLAY_SCL; I2CInit(&bbi2c, 100000L); // Scan at 100KHz low speed