Skip to content

Commit 2649ec0

Browse files
iuri1911zvecr
andauthored
Fix SEQUENCER_ENABLE so the sequencer feature builds again (qmk#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 <git@zvecr.com> --------- Co-authored-by: Joel Challis <git@zvecr.com>
1 parent a5fb55b commit 2649ec0

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

quantum/keyboard.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
150150
#ifdef CONNECTION_ENABLE
151151
# include "connection.h"
152152
#endif
153+
#ifdef SEQUENCER_ENABLE
154+
# include "sequencer.h"
155+
#endif
153156

154157
static uint32_t last_input_modification_time = 0;
155158
uint32_t last_input_activity_time(void) {

quantum/process_keycode/process_sequencer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
*/
1616

1717
#include "process_sequencer.h"
18+
#include "quantum_keycodes.h"
19+
#include "sequencer.h"
1820

1921
bool process_sequencer(uint16_t keycode, keyrecord_t *record) {
2022
if (record->event.pressed) {

0 commit comments

Comments
 (0)