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

[Core] Refactor writePin to work with statements #16738

Merged
merged 1 commit into from
Mar 27, 2022

Commits on Mar 27, 2022

  1. Refactor writePin to work with statements

    The ternary operator expects expressions as its arguments, this works
    for most gpio implementations but not for the RP2040 port as the gpio
    macros are implemented as statements. Therefore the ternary operator
    is replaced with a wrapped if-else statement which does accept simple
    statements.
    KarlK90 committed Mar 27, 2022
    Configuration menu
    Copy the full SHA
    2476df3 View commit details
    Browse the repository at this point in the history