mirror of
				https://github.com/embassy-rs/embassy.git
				synced 2025-11-04 06:45:35 +00:00 
			
		
		
		
	Correctly calculate target VCO frequency from multipliers
This commit is contained in:
		
							parent
							
								
									b0da6318f3
								
							
						
					
					
						commit
						69b4e898b3
					
				@ -740,7 +740,7 @@ mod pll {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        let vco_ck = output + pll_x_p;
 | 
					        let vco_ck = output * pll_x_p;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        assert!(pll_x_p < 128);
 | 
					        assert!(pll_x_p < 128);
 | 
				
			||||||
        assert!(vco_ck >= VCO_MIN);
 | 
					        assert!(vco_ck >= VCO_MIN);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user