diff options
| author | Damien George <damien@micropython.org> | 2024-09-23 13:11:42 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-10-15 12:20:12 +1100 |
| commit | 137e9e8c799f05a4a5190441d9b3bb2a503337c9 (patch) | |
| tree | b494cc6fb2e9a98a1c1eb9e2fa9889687f2a8771 | |
| parent | 27904ae4b9003eac743d031499325f7680699990 (diff) | |
rp2/main: Set CPU frequency to default for the MCU.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/rp2/main.c | 2 |
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(); |
