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

Remove redundant audio eeconfig init #22736

Merged
merged 3 commits into from
Dec 24, 2023
Merged

Remove redundant audio eeconfig init #22736

merged 3 commits into from
Dec 24, 2023

Conversation

zvecr
Copy link
Member

@zvecr zvecr commented Dec 23, 2023

Description

Extracted from #12020, as a more digestible chunk.

With the overall aim to remove all inits, magic() is now called before audio_init. eeprom will always be valid by the time audio_init is called.

A spare bit in the eeprom config has been used to decide if the eeprom init process has been completed. Defaulting of config options has been implemented per other features.

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

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).

@github-actions github-actions bot added core documentation dd Data Driven Changes labels Dec 23, 2023
@zvecr zvecr marked this pull request as ready for review December 23, 2023 03:48
@drashna drashna requested a review from a team December 23, 2023 22:15
@zvecr zvecr merged commit b24bd23 into develop Dec 24, 2023
5 checks passed
@zvecr zvecr deleted the single_eep_init_audio branch December 24, 2023 06:53
itsjonny96 pushed a commit to itsjonny96/qmk_firmware that referenced this pull request Jan 7, 2024
mechlovin pushed a commit to mechlovin/qmk_firmware that referenced this pull request Jan 17, 2024
mechlovin pushed a commit to mechlovin/qmk_firmware that referenced this pull request Jan 19, 2024
nuess0r pushed a commit to nuess0r/qmk_firmware that referenced this pull request Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core dd Data Driven Changes documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants