aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/serial_link/protocol/byte_stuffer.c
diff options
context:
space:
mode:
authorCallum Oakley <c.oakley108@gmail.com>2016-09-01 17:55:00 +0100
committerCallum Oakley <c.oakley108@gmail.com>2016-09-01 17:55:00 +0100
commit9c3193f22555119eb15f63f5ae5efe45e6d7358c (patch)
treea0dcfb3ed442c12a66b444c4c579711660c30657 /quantum/serial_link/protocol/byte_stuffer.c
parent993d72b11fca8d50296570dc85e9354f8045c4a6 (diff)
parente28d151a8a1d458f3c18897c6095decc17b0c3a1 (diff)
downloadfirmware-9c3193f22555119eb15f63f5ae5efe45e6d7358c.tar.gz
firmware-9c3193f22555119eb15f63f5ae5efe45e6d7358c.tar.bz2
firmware-9c3193f22555119eb15f63f5ae5efe45e6d7358c.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'quantum/serial_link/protocol/byte_stuffer.c')
-rw-r--r--quantum/serial_link/protocol/byte_stuffer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/quantum/serial_link/protocol/byte_stuffer.c b/quantum/serial_link/protocol/byte_stuffer.c
index fb4c45a8d..2c87d64c2 100644
--- a/quantum/serial_link/protocol/byte_stuffer.c
+++ b/quantum/serial_link/protocol/byte_stuffer.c
@@ -31,9 +31,6 @@ SOFTWARE.
// https://en.wikipedia.org/wiki/Consistent_Overhead_Byte_Stuffing
// http://www.stuartcheshire.org/papers/COBSforToN.pdf
-#define MAX_FRAME_SIZE 1024
-#define NUM_LINKS 2
-
typedef struct byte_stuffer_state {
uint16_t next_zero;
uint16_t data_pos;