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 24a2310 commit 9edd58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lgfx/v1/platforms/esp32/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ namespace lgfx
uint32_t src_clock = 80 * 1000 * 1000;
if (cpu_freq_conf.freq_mhz < 80)
{
src_clock = (cpu_freq_conf.source_freq_mhz * 1000000) / cpu_freq_conf.div.integer;
src_clock = (cpu_freq_conf.source_freq_mhz * 1000000) / cpu_freq_conf.div;
}
// ESP_LOGI("LGFX", "i2c::restart : port:%d / addr:%02x / freq:%d / rw:%d", i2c_port, i2c_addr, freq, read);
// ESP_LOGI("LGFX", "cpu_freq_conf.div :%d", cpu_freq_conf.div);
Expand Down

0 comments on commit 9edd58a

Please sign in to comment.