Move `API_SYSEX_MAX_SIZE` out of `config_common.h` (#12302)

This commit is contained in:
Ryan 2021-03-25 22:30:42 +11:00 committed by GitHub
parent c59fb1b477
commit eae7343741
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -24,6 +24,4 @@
#define COL2ROW 0
#define ROW2COL 1
#define API_SYSEX_MAX_SIZE 32
#include "song_list.h"

View File

@ -5,7 +5,7 @@
#include "usb_descriptor.h"
#include "process_midi.h"
#if API_SYSEX_ENABLE
# include "api.h"
# include "api_sysex.h"
#endif
/*******************************************************************************