Skip to content

Conversation

@th-in-gs
Copy link

@th-in-gs th-in-gs commented Dec 5, 2022

The meat of the change here is to allow osctune.h to deal with F_CPU defines that end in 'UL' or 'L' (e.g. 12000000UL), as they do (maybe just in some toolchains?) nowadays. The assembler can't handle the letter suffixes, so we create another macro, F_CPU_NUMERIC, with the letters stripped.

I also commented a lot of osctune.h while working out for myself what it did (there are no changes ot the algorithm, just comments).

…defines that end in 'UL' or 'L' (e.g. 12000000UL), as they do (maybe just in some toolchains?) nowadays. The assembler can't handle the letter suffixes, so we create another macro, F_CPU_NUMERIC, with the letters stripped.

I also commented a lot of osctune.h while working out for myself what it did (there are no changes ot the algorithm, just comments).
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

Successfully merging this pull request may close these issues.

1 participant