summaryrefslogtreecommitdiff
path: root/serial_link/protocol/byte_stuffer.h
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-02-14 17:45:25 +0200
committerFred Sundvik <fsundvik@gmail.com>2016-02-14 17:45:25 +0200
commita089eaa8682927ea1d21f6dc5ce1d30c78140852 (patch)
tree27ab97a755123da1e1b36ebd7575967e1c0e9306 /serial_link/protocol/byte_stuffer.h
parent26537474ae1d65cdf40276299d7e04648474357b (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.h1
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);