We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f7ddb6 commit a9b3902Copy full SHA for a9b3902
cores/rp2040/main.cpp
@@ -79,7 +79,7 @@ extern void __loop() {
79
static struct _reent *_impure_ptr1 = nullptr;
80
81
extern "C" int main() {
82
-#if F_CPU != 125000000
+#if (defined(PICO_RP2040) && (F_CPU != 125000000)) || (defined(PICO_RP2350) && (F_CPU != 150000000))
83
set_sys_clock_khz(F_CPU / 1000, true);
84
#endif
85
0 commit comments