You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NO_CORRECTION define is used for two different purposes #1263
I noticed that NO_CORRECTION is used both here and here for different purposes.
The first one is to turn off clock-correction in AVR (which you might want to do if you have got interrupts working) and the second is for color-correction.
Given that this is a compatibility break I'd suggest renaming both defines (NO_COLOR_CORRECTION / NO_CLOCK_CORRECTION) and checking both the new name and the old name NO_CORRECTION (or maybe print out a warning)
Finding this is a good catch; thank you.
I like the idea of checking both the new and old name. I don't think a warning would be net-helpful; the people who need to separately control the two settings will figure it out, and the people who don't need to do that probably shouldn't be bothered with a new warning on their existing code. But: I want to think about that a little bit, because in general I do like giving informative warnings to people who might will benefit from seeing them.
Activity
kriegsman commentedon Jul 29, 2021
Finding this is a good catch; thank you.
I like the idea of checking both the new and old name. I don't think a warning would be net-helpful; the people who need to separately control the two settings will figure it out, and the people who don't need to do that probably shouldn't be bothered with a new warning on their existing code. But: I want to think about that a little bit, because in general I do like giving informative warnings to people who might will benefit from seeing them.
ben-xo commentedon Jul 29, 2021
@kriegsman is there a project chat / IRC / Slack / whatever? I know the reddit, but that doesn't seem like a chat venue for project discussion
Change define NO_CORRECTION in clockless_trinket to NO_CLOCK_CORRECTI…
ben-xo commentedon Aug 1, 2021
Raised a PR for this. #1271
ben-xo commentedon Jan 13, 2022
Closed as my PR was merged
chore(deps): bump fbuild pin to 2.5.15 (#3871)