Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4a8ba42

Browse files
Jason2866lucasssvaz
andauthored
fix weird formatting, no code change (espressif#10617)
* fix formatting * Disable formatter for these lines --------- Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
1 parent 3a5dbf2 commit 4a8ba42

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎cores/esp32/esp32-hal-cpu.c‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ bool setCpuFrequencyMhz(uint32_t cpu_freq_mhz) {
259259
if (apb_change_callbacks) {
260260
triggerApbChangeCallback(APB_AFTER_CHANGE, capb, apb);
261261
}
262+
// clang-format off
262263
#ifdef SOC_CLK_APLL_SUPPORTED
263264
log_d(
264265
"%s: %u / %u = %u Mhz, APB: %u Hz",
@@ -268,7 +269,7 @@ bool setCpuFrequencyMhz(uint32_t cpu_freq_mhz) {
268269
#ifdef CONFIG_IDF_TARGET_ESP32P4
269270
: "17.5M"),
270271
#else
271-
: "8M")),
272+
: "8M")),
272273
#endif
273274
conf.source_freq_mhz, conf.div, conf.freq_mhz, apb
274275
);
@@ -278,6 +279,7 @@ bool setCpuFrequencyMhz(uint32_t cpu_freq_mhz) {
278279
conf.source_freq_mhz, conf.div, conf.freq_mhz, apb
279280
);
280281
#endif
282+
// clang-format on
281283
return true;
282284
}
283285

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /