summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/rp2/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/rp2/main.c b/ports/rp2/main.c
index 8d7b35373..d6bf44826 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();