Skip to content

Commit 137e9e8

Browse files
committed
rp2/main: Set CPU frequency to default for the MCU.
Signed-off-by: Damien George <[email protected]>
1 parent 27904ae commit 137e9e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ports/rp2/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ int main(int argc, char **argv) {
8888
soft_timer_init();
8989

9090
// Set the MCU frequency and as a side effect the peripheral clock to 48 MHz.
91-
set_sys_clock_khz(125000, false);
91+
set_sys_clock_khz(SYS_CLK_KHZ, false);
9292

9393
// Hook for setting up anything that needs to be super early in the bootup process.
9494
MICROPY_BOARD_STARTUP();

0 commit comments

Comments
 (0)