Skip to content

Commit

Permalink
Update common.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
tobozo authored Jul 26, 2024
1 parent eeb9fd8 commit 5ed1b46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lgfx/v1/platforms/esp32/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 5ed1b46

Please sign in to comment.