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

Fix dead lock with pin above NUM_DIGITAL_PINS #2629

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

VitorBoss
Copy link
Contributor

Penalty for the check should be a single instruction for pin numbers below NUM_DIGITAL_PINS, 9 for pin numbers between PNUM_ANALOG_BASE and NUM_ANALOG_INTERNAL_FIRST.

Tests done on a Black F407VE board

Fixes #2612

Penalty for the check should be a single instruction for pin numbers below NUM_DIGITAL_PINS, 9 for pin numbers between PNUM_ANALOG_BASE and NUM_ANALOG_INTERNAL_FIRST.

Tests done on a Black F407VE board
@fpistm fpistm self-requested a review January 13, 2025 17:07
@fpistm fpistm added the enhancement New feature or request label Jan 13, 2025
@fpistm fpistm added this to the 2.10.0 milestone Jan 13, 2025
cores/arduino/wiring_digital.c Outdated Show resolved Hide resolved
Signed-off-by: Frederic Pillon <[email protected]>
@fpistm fpistm merged commit d8a8b20 into stm32duino:main Jan 14, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

Pin manipulation lock board when number is equal/above NUM_DIGITAL_PINS
2 participants