summaryrefslogtreecommitdiffstats
path: root/quantum/serial_link/protocol/byte_stuffer.h
diff options
context:
space:
mode:
authorcbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-08-29 18:32:03 +0200
committercbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-08-29 18:32:03 +0200
commitfba509780e70b20da998cf6caada228682965c5e (patch)
treedf21a76cdf5f9225fcae68abb0d72252fbd37e5d /quantum/serial_link/protocol/byte_stuffer.h
parenta732003bfd1a780be0728cdacda71c0b3d8b59b3 (diff)
parent6d1e916851daa7bcbd8ef31b6fbc73cb369ef1f0 (diff)
downloadqmk_firmware-fba509780e70b20da998cf6caada228682965c5e.tar.gz
qmk_firmware-fba509780e70b20da998cf6caada228682965c5e.tar.xz
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'quantum/serial_link/protocol/byte_stuffer.h')
-rw-r--r--quantum/serial_link/protocol/byte_stuffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/quantum/serial_link/protocol/byte_stuffer.h b/quantum/serial_link/protocol/byte_stuffer.h
index 2cc88beb4..97e896856 100644
--- a/quantum/serial_link/protocol/byte_stuffer.h
+++ b/quantum/serial_link/protocol/byte_stuffer.h
@@ -27,6 +27,9 @@ SOFTWARE.
#include <stdint.h>
+#define MAX_FRAME_SIZE 1024
+#define NUM_LINKS 2
+
void init_byte_stuffer(void);
void byte_stuffer_recv_byte(uint8_t link, uint8_t data);
void byte_stuffer_send_frame(uint8_t link, uint8_t* data, uint16_t size);