Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler error at si5351.set_correction() at around #2630 #8

Open
prt459 opened this issue Dec 22, 2022 · 0 comments
Open

Compiler error at si5351.set_correction() at around #2630 #8

prt459 opened this issue Dec 22, 2022 · 0 comments

Comments

@prt459
Copy link
Owner

prt459 commented Dec 22, 2022

Some experimenters see a compile error at si5351.set_correction() in init() at around line 2630.

The signature to the set_correction() method in Jason's si5351 library changed between releases, the latest version includes a second parameter.

#ifdef SP_V
si5351.set_correction(19100);
#endif

If this call throws a compiler error, add in the second argument, as follows:

si5351.set_correction(19100, SI5351_PLL_INPUT_XO);

(Make sure you do this for the selected project, as this call is unique to each project, because every si5351 requires a different calibration offset).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant