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

Make interrupt handling configurable #109

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

MatejKocourek
Copy link
Contributor

Put the macro to configure whether the library should handle interrupts inside the config header, to let users configure it more easily than to edit the library code.
Also when the macro is defined, the library turns the interrupts back on after turning them off before executing (was missing, probably a bug/oversight?).

@cpldcpu
Copy link
Owner

cpldcpu commented Sep 11, 2024

Makes sense, merged!

Originally I tried to hide this option a bit, because people found many creative way to get the library to malfunction.

@cpldcpu cpldcpu merged commit f214bf0 into cpldcpu:master Sep 11, 2024
1 check passed
@MatejKocourek MatejKocourek deleted the interrupt_macro branch September 12, 2024 09:08
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.

2 participants