diff options
author | Fred Sundvik <[email protected]> | 2016-12-29 12:13:30 +0200 |
---|---|---|
committer | Fred Sundvik <[email protected]> | 2016-12-29 12:13:30 +0200 |
commit | dd685eceb2045371d38f24d454f1ab08ca7416f4 (patch) | |
tree | eef012131a9ce190512a899d4850e34741989a26 /quantum/config_common.h | |
parent | 273faa4d9cd5a84207548f83ba550c9efee90933 (diff) | |
download | qmk_firmware-dd685eceb2045371d38f24d454f1ab08ca7416f4.tar.gz qmk_firmware-dd685eceb2045371d38f24d454f1ab08ca7416f4.zip |
API Sysex fixes
Fix memory leaks by using stack instead of malloc
Reduce memory usage by having less temporary bufffers
Remove warnings by adding includes
Decrease code size by 608 bytes (mostly due to not linking malloc)
More robust handling of buffer overflows
Diffstat (limited to 'quantum/config_common.h')
-rw-r--r-- | quantum/config_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/config_common.h b/quantum/config_common.h index 17c11faeb6..4bdb2065d9 100644 --- a/quantum/config_common.h +++ b/quantum/config_common.h @@ -80,4 +80,6 @@ # endif #endif +#define API_SYSEX_MAX_SIZE 32 + #endif |