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

Audio enable corrections (3/3) #8904

Closed

Conversation

JohSchneider
Copy link
Contributor

@JohSchneider JohSchneider commented Apr 24, 2020

update AUDIO-feature comment in rules.mk of AVR boards

Description

  • audio_avr.c does not default to any pin, there has to be a #define XX_AUDIO in config.h at some level, for it to actually work

these changes on way to many files do exactly one thing, replacing strings in rules.mk
from

-AUDIO_ENABLE = yes # Audio output on port C6
to
+AUDIO_ENABLE = yes # Audio output (needs a pin configured in config.h, see docs/feature_audio.md)

while preserving the yes/no selection, and leaving keyboards that have already something other then the default comment 'Audio output on port C6'

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

Johannes added 3 commits April 24, 2020 18:04
…config.h on keyboards that have the audio feature enabled

$qmk_firmware> grep -rnIE 'AUDIO_ENABLE.*yes' -l | xargs sed 's|output on port C6|output (needs a pin configured in config.h, see docs/feature_audio.md)|' -i
…config.h on all other keyboards

$qmk_firmware> grep -rnIE 'AUDIO_ENABLE.*no' -l | xargs sed 's|output on port C6|output (needs a pin configured in config.h, see docs/feature_audio.md)|' -i
@JohSchneider JohSchneider force-pushed the audio_enable_corrections_3 branch from f84321c to 3541bff Compare April 24, 2020 16:15
@zvecr
Copy link
Member

zvecr commented Apr 24, 2020

As mentioned in #8901 800+ files is too many in one PR, lets slow down a bit and work incrementally.

@zvecr zvecr closed this Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants