summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-03-25 22:30:42 +1100
committerGitHub <noreply@github.com>2021-03-25 22:30:42 +1100
commiteae73437412d314a7c00b45ce11da26ffcb22e16 (patch)
tree8301a29bc79fa3e20a0ec8d4de5fcca9a28c27a0 /quantum
parentc59fb1b477c4877fc29aeec8fe5f98dbf8788369 (diff)
Move `API_SYSEX_MAX_SIZE` out of `config_common.h` (#12302)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/api/api_sysex.h2
-rw-r--r--quantum/config_common.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/quantum/api/api_sysex.h b/quantum/api/api_sysex.h
index 382f4bea44..eb0a18848d 100644
--- a/quantum/api/api_sysex.h
+++ b/quantum/api/api_sysex.h
@@ -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)
diff --git a/quantum/config_common.h b/quantum/config_common.h
index fa1ff2a5f5..d93477b27e 100644
--- a/quantum/config_common.h
+++ b/quantum/config_common.h
@@ -24,6 +24,4 @@
#define COL2ROW 0
#define ROW2COL 1
-#define API_SYSEX_MAX_SIZE 32
-
#include "song_list.h"