summaryrefslogtreecommitdiff
path: root/keyboards/planck
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2021-12-07 09:22:22 -0800
committerDrashna Jael're <drashna@live.com>2021-12-07 09:22:22 -0800
commit43002bdf77ab0f48af6b04e87edcc37f7cb7b905 (patch)
tree34f973d4cc11bef03d022c8770f0d3daf3386716 /keyboards/planck
parentacec40a11a16cb7d8773a753bc166abdbb381ab4 (diff)
Revert "Revert "Audio system overhaul (#11820)" due to freezing issues"
This reverts commit 996a19ee7ba3308e17fd347afde0b135852835cc.
Diffstat (limited to 'keyboards/planck')
-rw-r--r--keyboards/planck/config.h2
-rw-r--r--keyboards/planck/ez/config.h5
2 files changed, 5 insertions, 2 deletions
diff --git a/keyboards/planck/config.h b/keyboards/planck/config.h
index 9ef2b0b0dd..71111eca21 100644
--- a/keyboards/planck/config.h
+++ b/keyboards/planck/config.h
@@ -40,7 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define QMK_SPEAKER C6
#define AUDIO_VOICES
-#define C6_AUDIO
+#define AUDIO_PIN C6
#define BACKLIGHT_PIN B7
diff --git a/keyboards/planck/ez/config.h b/keyboards/planck/ez/config.h
index e924d077d2..41abb00808 100644
--- a/keyboards/planck/ez/config.h
+++ b/keyboards/planck/ez/config.h
@@ -58,7 +58,10 @@
#define MUSIC_MAP
#undef AUDIO_VOICES
-#undef C6_AUDIO
+#undef AUDIO_PIN
+#define AUDIO_PIN A5
+#define AUDIO_PIN_ALT A4
+#define AUDIO_PIN_ALT_AS_NEGATIVE
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
// #define DEBOUNCE 6