Skip to content

Commit

Permalink
Move API_SYSEX_MAX_SIZE out of config_common.h (qmk#12302)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Mar 25, 2021
1 parent c59fb1b commit eae7343
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions quantum/api/api_sysex.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

#include "api.h"

#define API_SYSEX_MAX_SIZE 32

void send_bytes_sysex(uint8_t message_type, uint8_t data_type, uint8_t* bytes, uint16_t length);

#define SEND_BYTES(mt, dt, b, l) send_bytes_sysex(mt, dt, b, l)
2 changes: 0 additions & 2 deletions quantum/config_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,4 @@
#define COL2ROW 0
#define ROW2COL 1

#define API_SYSEX_MAX_SIZE 32

#include "song_list.h"
2 changes: 1 addition & 1 deletion tmk_core/protocol/midi/qmk_midi.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "usb_descriptor.h"
#include "process_midi.h"
#if API_SYSEX_ENABLE
# include "api.h"
# include "api_sysex.h"
#endif

/*******************************************************************************
Expand Down

0 comments on commit eae7343

Please sign in to comment.