Skip to content

Commit

Permalink
fix weird formatting, no code change (#10617)
Browse files Browse the repository at this point in the history
* fix formatting

* Disable formatter for these lines

---------

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
  • Loading branch information
Jason2866 and lucasssvaz authored Nov 19, 2024
1 parent 3a5dbf2 commit 4a8ba42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cores/esp32/esp32-hal-cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ bool setCpuFrequencyMhz(uint32_t cpu_freq_mhz) {
if (apb_change_callbacks) {
triggerApbChangeCallback(APB_AFTER_CHANGE, capb, apb);
}
// clang-format off
#ifdef SOC_CLK_APLL_SUPPORTED
log_d(
"%s: %u / %u = %u Mhz, APB: %u Hz",
Expand All @@ -268,7 +269,7 @@ bool setCpuFrequencyMhz(uint32_t cpu_freq_mhz) {
#ifdef CONFIG_IDF_TARGET_ESP32P4
: "17.5M"),
#else
: "8M")),
: "8M")),
#endif
conf.source_freq_mhz, conf.div, conf.freq_mhz, apb
);
Expand All @@ -278,6 +279,7 @@ bool setCpuFrequencyMhz(uint32_t cpu_freq_mhz) {
conf.source_freq_mhz, conf.div, conf.freq_mhz, apb
);
#endif
// clang-format on
return true;
}

Expand Down

0 comments on commit 4a8ba42

Please sign in to comment.