summaryrefslogtreecommitdiffstats
path: root/serial_link/protocol/byte_stuffer.c
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-02-14 21:33:14 +0200
committerFred Sundvik <fsundvik@gmail.com>2016-02-14 21:33:14 +0200
commit0eb62c4ce61e19cf7629bb74cf01d812c042ac57 (patch)
treeea73cd1a3816876f923fdfcd27120217c9061243 /serial_link/protocol/byte_stuffer.c
parent2a6696bd3d0837c2e655a99000bcbcc759b40075 (diff)
Rename recv_frame to validator_recv_frame
Diffstat (limited to 'serial_link/protocol/byte_stuffer.c')
-rw-r--r--serial_link/protocol/byte_stuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial_link/protocol/byte_stuffer.c b/serial_link/protocol/byte_stuffer.c
index 69cfca3594..f9aa02a3f5 100644
--- a/serial_link/protocol/byte_stuffer.c
+++ b/serial_link/protocol/byte_stuffer.c
@@ -60,7 +60,7 @@ void recv_byte(byte_stuffer_state_t* state, uint8_t data) {
if (state->next_zero == 0) {
// The frame is completed
if (state->data_pos > 0) {
- recv_frame(state->data, state->data_pos);
+ validator_recv_frame(state->data, state->data_pos);
}
}
else {