From 137e9e8c799f05a4a5190441d9b3bb2a503337c9 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 23 Sep 2024 13:11:42 +1000 Subject: [PATCH] rp2/main: Set CPU frequency to default for the MCU. Signed-off-by: Damien George --- ports/rp2/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/rp2/main.c b/ports/rp2/main.c index 8d7b353731..d6bf448267 100644 --- a/ports/rp2/main.c +++ b/ports/rp2/main.c @@ -88,7 +88,7 @@ int main(int argc, char **argv) { soft_timer_init(); // Set the MCU frequency and as a side effect the peripheral clock to 48 MHz. - set_sys_clock_khz(125000, false); + set_sys_clock_khz(SYS_CLK_KHZ, false); // Hook for setting up anything that needs to be super early in the bootup process. MICROPY_BOARD_STARTUP();