From c578422528d91da8f9ae80b8446889b6e3224d26 Mon Sep 17 00:00:00 2001 From: Liam Fraser Date: Tue, 24 Jan 2023 15:10:05 +0000 Subject: [PATCH] Remove PLL postdiv assert. Fixes #1047 (#1189) --- src/rp2_common/hardware_pll/pll.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/rp2_common/hardware_pll/pll.c b/src/rp2_common/hardware_pll/pll.c index e152b84..41d9fde 100644 --- a/src/rp2_common/hardware_pll/pll.c +++ b/src/rp2_common/hardware_pll/pll.c @@ -29,9 +29,7 @@ void pll_init(PLL pll, uint refdiv, uint vco_freq, uint post_div1, uint post_div // post_div1 should be >= post_div2 // from appnote page 11 - // postdiv1 is designed to operate with a higher input frequency - // than postdiv2 - assert(post_div2 <= post_div1); + // postdiv1 is designed to operate with a higher input frequency than postdiv2 // Check that reference frequency is no greater than vco / 16 assert(ref_mhz <= (vco_freq / 16));