diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-02-14 17:45:25 +0200 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-02-14 17:45:25 +0200 |
commit | a089eaa8682927ea1d21f6dc5ce1d30c78140852 (patch) | |
tree | 27ab97a755123da1e1b36ebd7575967e1c0e9306 /serial_link/protocol/byte_stuffer.h | |
parent | 26537474ae1d65cdf40276299d7e04648474357b (diff) |
Add sending of small frames with no zeroes
Diffstat (limited to 'serial_link/protocol/byte_stuffer.h')
-rw-r--r-- | serial_link/protocol/byte_stuffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/serial_link/protocol/byte_stuffer.h b/serial_link/protocol/byte_stuffer.h index 9a5551fab5..ea6b8451d4 100644 --- a/serial_link/protocol/byte_stuffer.h +++ b/serial_link/protocol/byte_stuffer.h @@ -25,3 +25,4 @@ SOFTWARE. typedef struct byte_stuffer_state byte_stuffer_state_t; void init_byte_stuffer_state(byte_stuffer_state_t* state); void recv_byte(byte_stuffer_state_t* state, uint8_t data); +void send_frame(uint8_t* data, uint16_t size); |