This commit is contained in:
Olof Kindgren 2025-06-15 02:51:50 -06:00 committed by GitHub
commit fd04eb4452
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ bool analyze(
{
double fout = f_vco * exp2(-divq);
if (fabs(fout - f_pllout) < fabs(*best_fout - f_pllout) || !found_something) {
if (((fabs(fout - f_pllout) < fabs(*best_fout - f_pllout)) && (fout >= 16.0)) || !found_something) {
*best_fout = fout;
*best_divr = divr;
*best_divf = divf;