From 5ed1b46bb059af0c5e5df9b65e2b9c82b4a45d65 Mon Sep 17 00:00:00 2001 From: tobozo Date: Fri, 26 Jul 2024 14:17:32 +0200 Subject: [PATCH] Update common.cpp --- src/lgfx/v1/platforms/esp32/common.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lgfx/v1/platforms/esp32/common.cpp b/src/lgfx/v1/platforms/esp32/common.cpp index 74c728b3..488bbba0 100644 --- a/src/lgfx/v1/platforms/esp32/common.cpp +++ b/src/lgfx/v1/platforms/esp32/common.cpp @@ -1023,7 +1023,7 @@ namespace lgfx #endif #endif #else - auto mod = getPeriphModule(i2c_port) + auto mod = getPeriphModule(i2c_port); periph_module_disable(mod); #endif if ((int)i2c_context[i2c_port].pin_scl >= 0) @@ -1095,7 +1095,7 @@ namespace lgfx twowire->begin((int)i2c_context[i2c_port].pin_sda, (int)i2c_context[i2c_port].pin_scl); #endif #else - auto mod = getPeriphModule(i2c_port) + auto mod = getPeriphModule(i2c_port); periph_module_disable(mod); #endif