diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-08-27 17:06:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-27 17:06:45 -0400 |
commit | 4fd5ac8326f491a347b8c049f32a3353a633ebf5 (patch) | |
tree | c82d8b5325ea82a7544489022afe00bf909495c3 /quantum/serial_link/protocol/byte_stuffer.h | |
parent | f815b4871ebc5cc2f8d1a306eceec68c0a973a4c (diff) | |
parent | 922c4ea3bc46f6246d9f67ead11bcf53ff947ef3 (diff) |
Merge pull request #690 from fredizzimo/unit_test
Add Unit Testing support
Diffstat (limited to 'quantum/serial_link/protocol/byte_stuffer.h')
-rw-r--r-- | quantum/serial_link/protocol/byte_stuffer.h | 3 |
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); |