aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-03-25 11:31:17 +0000
committerQMK Bot <hello@qmk.fm>2021-03-25 11:31:17 +0000
commit2f6236d1eab8601f097d4acb0553a4511b5c4be7 (patch)
tree23998365676a249e57acd29f4e8b4fde6c394352
parent921f1ba4cf9ec406ec723bbe3f51f65a7bb58e16 (diff)
parenta888057453db7a854549ec0d13f638392ffbcca8 (diff)
downloadqmk_firmware-2f6236d1eab8601f097d4acb0553a4511b5c4be7.tar.gz
qmk_firmware-2f6236d1eab8601f097d4acb0553a4511b5c4be7.zip
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--docs/cli_commands.md2
-rw-r--r--quantum/api/api_sysex.h2
-rw-r--r--quantum/config_common.h2
-rw-r--r--tmk_core/protocol/midi/qmk_midi.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/docs/cli_commands.md b/docs/cli_commands.md
index 5ab49abd2..bb5df8996 100644
--- a/docs/cli_commands.md
+++ b/docs/cli_commands.md
@@ -170,7 +170,7 @@ qmk json2c [-o OUTPUT] filename
170## `qmk c2json` 170## `qmk c2json`
171 171
172Creates a keymap.json from a keymap.c. 172Creates a keymap.json from a keymap.c.
173**Note:** Parsing C source files is not easy, therefore this subcommand may not work your keymap. In some cases not using the C pre-processor helps. 173**Note:** Parsing C source files is not easy, therefore this subcommand may not work with your keymap. In some cases not using the C pre-processor helps.
174 174
175**Usage**: 175**Usage**:
176 176
diff --git a/quantum/api/api_sysex.h b/quantum/api/api_sysex.h
index 382f4bea4..eb0a18848 100644
--- a/quantum/api/api_sysex.h
+++ b/quantum/api/api_sysex.h
@@ -18,6 +18,8 @@
18 18
19#include "api.h" 19#include "api.h"
20 20
21#define API_SYSEX_MAX_SIZE 32
22
21void send_bytes_sysex(uint8_t message_type, uint8_t data_type, uint8_t* bytes, uint16_t length); 23void send_bytes_sysex(uint8_t message_type, uint8_t data_type, uint8_t* bytes, uint16_t length);
22 24
23#define SEND_BYTES(mt, dt, b, l) send_bytes_sysex(mt, dt, b, l) 25#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 fa1ff2a5f..d93477b27 100644
--- a/quantum/config_common.h
+++ b/quantum/config_common.h
@@ -24,6 +24,4 @@
24#define COL2ROW 0 24#define COL2ROW 0
25#define ROW2COL 1 25#define ROW2COL 1
26 26
27#define API_SYSEX_MAX_SIZE 32
28
29#include "song_list.h" 27#include "song_list.h"
diff --git a/tmk_core/protocol/midi/qmk_midi.c b/tmk_core/protocol/midi/qmk_midi.c
index 6f6aced72..c18dbf993 100644
--- a/tmk_core/protocol/midi/qmk_midi.c
+++ b/tmk_core/protocol/midi/qmk_midi.c
@@ -5,7 +5,7 @@
5#include "usb_descriptor.h" 5#include "usb_descriptor.h"
6#include "process_midi.h" 6#include "process_midi.h"
7#if API_SYSEX_ENABLE 7#if API_SYSEX_ENABLE
8# include "api.h" 8# include "api_sysex.h"
9#endif 9#endif
10 10
11/******************************************************************************* 11/*******************************************************************************