Skip to content

Commit

Permalink
Don't disable ROSC after switching to XOSC in RP.Clock.Initialize. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyGrosser committed Jan 31, 2024
1 parent b629518 commit f5877d7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/drivers/rp-clock.adb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ package body RP.Clock is
Reference := XOSC_Frequency;
RP2040_SVD.XOSC.XOSC_Periph.STARTUP.DELAY_k := RP2040_SVD.XOSC.STARTUP_DELAY_Field (XOSC_Startup_Delay / 256);
Set_SYS_Source (XOSC);
Disable (ROSC);
Init_PLLs (XOSC_Frequency);
else
Reference := ROSC_Frequency;
Expand Down

0 comments on commit f5877d7

Please sign in to comment.