summaryrefslogtreecommitdiffstats
path: root/quantum/serial_link/protocol/byte_stuffer.h
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-08-28 18:50:06 -0500
committerIBNobody <ibnobody@gmail.com>2016-08-28 18:50:06 -0500
commit6da0eb2b2b70d7b2c5bb1f7c6898f7d9a275ceea (patch)
tree50cd382df7dac58057c958f62732174cf0dfe920 /quantum/serial_link/protocol/byte_stuffer.h
parent9263ade0fbdde6431fb5c7f26970754c5c7c2963 (diff)
parent6d1e916851daa7bcbd8ef31b6fbc73cb369ef1f0 (diff)
Merge remote-tracking branch 'refs/remotes/jackhumbert/master'
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 2cc88beb42..97e8968564 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);