diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-08-24 22:23:17 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-08-27 21:57:49 +0300 |
commit | 0a11460175d6a838c71343c19eb4ce4699936247 (patch) | |
tree | e2e96c421172e212d6e623127d40d4582bd02127 /quantum/serial_link/protocol/byte_stuffer.h | |
parent | 8a9aac6e3237a505682cc7249a8dfff6cb964343 (diff) |
Build actual tests, convert byte_stuffer_tests
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); |