~ruther/qmk_firmware

eae73437412d314a7c00b45ce11da26ffcb22e16 — Ryan 4 years ago c59fb1b
Move `API_SYSEX_MAX_SIZE` out of `config_common.h` (#12302)

3 files changed, 3 insertions(+), 3 deletions(-)

M quantum/api/api_sysex.h
M quantum/config_common.h
M tmk_core/protocol/midi/qmk_midi.c
M quantum/api/api_sysex.h => quantum/api/api_sysex.h +2 -0
@@ 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)

M quantum/config_common.h => quantum/config_common.h +0 -2
@@ 24,6 24,4 @@
#define COL2ROW 0
#define ROW2COL 1

#define API_SYSEX_MAX_SIZE 32

#include "song_list.h"

M tmk_core/protocol/midi/qmk_midi.c => tmk_core/protocol/midi/qmk_midi.c +1 -1
@@ 5,7 5,7 @@
#include "usb_descriptor.h"
#include "process_midi.h"
#if API_SYSEX_ENABLE
#    include "api.h"
#    include "api_sysex.h"
#endif

/*******************************************************************************