From 2649ec02c99050321a9fa29e8aea37efabc33ea3 Mon Sep 17 00:00:00 2001 From: Iuri Ribeiro Date: Mon, 13 Jul 2026 21:38:42 -0300 Subject: [PATCH] Fix SEQUENCER_ENABLE so the sequencer feature builds again (#26322) * Make the sequencer feature build again SEQUENCER_ENABLE only set MUSIC_ENABLE, so -DSEQUENCER_ENABLE was never defined and neither sequencer.c nor process_sequencer.c were compiled; process_sequencer.c also lost the includes it depends on. Wire the make target up like the other features and add the missing includes. * Include sequencer.h in keyboard.c for sequencer_task() * Update builddefs/common_features.mk Co-authored-by: Joel Challis --------- Co-authored-by: Joel Challis --- quantum/keyboard.c | 3 +++ quantum/process_keycode/process_sequencer.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/quantum/keyboard.c b/quantum/keyboard.c index c24d4d3a0c9..84ff82a50e1 100644 --- a/quantum/keyboard.c +++ b/quantum/keyboard.c @@ -150,6 +150,9 @@ along with this program. If not, see . #ifdef CONNECTION_ENABLE # include "connection.h" #endif +#ifdef SEQUENCER_ENABLE +# include "sequencer.h" +#endif static uint32_t last_input_modification_time = 0; uint32_t last_input_activity_time(void) { diff --git a/quantum/process_keycode/process_sequencer.c b/quantum/process_keycode/process_sequencer.c index 6391d1ba9d5..44cc0243290 100644 --- a/quantum/process_keycode/process_sequencer.c +++ b/quantum/process_keycode/process_sequencer.c @@ -15,6 +15,8 @@ */ #include "process_sequencer.h" +#include "quantum_keycodes.h" +#include "sequencer.h" bool process_sequencer(uint16_t keycode, keyrecord_t *record) { if (record->event.pressed) {