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: Disable display feature for settings_reset #2628

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

caksoylar
Copy link
Contributor

Without this tweak, a build like west build -b corneish_zen_v2_left -- -DSHIELD=settings_reset fails because the status screens are enabled and they expect certain APIs related to e.g. BT profiles that don't get built. This can be an issue with any onboard controller keyboard that enables a display with status screen by default, like ones that live in modules. While good practice would be to #if defined guard the appropriate widgets, there is also no reason to have display enabled with settings reset.

@caksoylar caksoylar added the shields PRs and issues related to shields label Nov 10, 2024
@caksoylar caksoylar requested a review from a team November 10, 2024 02:03
@joelspadin
Copy link
Collaborator

Yeah, fixing the status screens would be the ideal solution, but you're probably not going to think to do that when writing a custom status screen for a board that always supports BLE. This seems reasonable to me.

Copy link
Contributor

@petejohanson petejohanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@petejohanson petejohanson merged commit b0f5789 into zmkfirmware:main Nov 13, 2024
11 checks passed
@caksoylar caksoylar deleted the settings-reset-display branch November 13, 2024 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
shields PRs and issues related to shields
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants