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: Fix kscan prop existence test in physical layouts #2615

Closed
wants to merge 1 commit into from

Conversation

caksoylar
Copy link
Contributor

Currently building with a chosen physical layout which has a kscan, but no chosen "shared" kscan fails. See example build and corresponding failing overlay.

I am guessing this is because DT_INST_PROP_LEN doesn't work for phandle type properties, and we can use DT_INST_NODE_HAS_PROP instead. (I haven't spent too much time looking into this, happy to change if there is a better check.)

@caksoylar caksoylar added the core Core functionality/behavior of ZMK label Nov 6, 2024
@caksoylar caksoylar requested a review from a team as a code owner November 6, 2024 03:48
@caksoylar caksoylar marked this pull request as draft November 6, 2024 03:51
@caksoylar
Copy link
Contributor Author

I think this might be a problem with an older ZMK version and doesn't currently reproduce, sorry about the noise.

@caksoylar caksoylar closed this Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core functionality/behavior of ZMK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant