mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-02-09 10:01:44 -07:00
Merge 9db9503016 into 6d7d3403e4
This commit is contained in:
commit
35d37cbb3f
1 changed files with 7 additions and 0 deletions
|
|
@ -128,6 +128,13 @@ pll_setup(pll_hw_t *pll, uint32_t mul, uint32_t postdiv)
|
|||
pll->prim = ((postdiv1 << PLL_PRIM_POSTDIV1_LSB)
|
||||
| (postdiv2 << PLL_PRIM_POSTDIV2_LSB));
|
||||
pll->pwr = PLL_PWR_DSMPD_BITS;
|
||||
|
||||
// Extra wait here. TwoTrees SK1 toolhead board cannot boot normally without
|
||||
// these waits.
|
||||
// TODO: find a more elegant way for this waiting loop, maybe wait for some
|
||||
// bit (waiting for pll->cs like the loop above does not seem to work)
|
||||
for(volatile int i=0; i<1000; i++)
|
||||
;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue