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

[Bug] Fix default layer value in eeconfig_init #21909

Merged
merged 2 commits into from
Sep 14, 2023

Conversation

drashna
Copy link
Member

@drashna drashna commented Sep 5, 2023

Description

Ran into an issue with this, when replacing my burned out blackpill... and it not properly init'ing.

This should be 1<<0 (0b1), rather than 0, and have verified that with everywhere default layers are set.

Could probably move these lines out of eeconfig.c too, but wasn't sure if should.

Types of Changes

  • Core
  • Bugfix

Issues Fixed or Closed by This PR

  • Testing

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@drashna drashna requested a review from a team September 5, 2023 02:16
quantum/eeconfig.c Outdated Show resolved Hide resolved
Co-authored-by: Ryan <fauxpark@gmail.com>
@drashna drashna requested review from fauxpark and a team September 14, 2023 09:30
@drashna drashna merged commit 9c2c96a into qmk:develop Sep 14, 2023
4 checks passed
@drashna drashna deleted the fix/default_layer_init branch September 14, 2023 17:37
mechlovin pushed a commit to mechlovin/qmk_firmware that referenced this pull request Oct 25, 2023
Co-authored-by: Ryan <fauxpark@gmail.com>
christrotter pushed a commit to christrotter/qmk_firmware that referenced this pull request Nov 28, 2023
Co-authored-by: Ryan <fauxpark@gmail.com>
zgagnon pushed a commit to zgagnon/qmk_firmware_waterfowl that referenced this pull request Dec 15, 2023
Co-authored-by: Ryan <fauxpark@gmail.com>
future-figs pushed a commit to future-figs/qmk_firmware that referenced this pull request Dec 27, 2023
Co-authored-by: Ryan <fauxpark@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants