summaryrefslogtreecommitdiff
path: root/serial_link/protocol/frame_validator.c
diff options
context:
space:
mode:
Diffstat (limited to 'serial_link/protocol/frame_validator.c')
-rw-r--r--serial_link/protocol/frame_validator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial_link/protocol/frame_validator.c b/serial_link/protocol/frame_validator.c
index 0ffcda0473..0a5f05068e 100644
--- a/serial_link/protocol/frame_validator.c
+++ b/serial_link/protocol/frame_validator.c
@@ -107,7 +107,7 @@ void validator_recv_frame(uint8_t* data, uint16_t size) {
uint32_t frame_crc = *(uint32_t*)(data + size - 4);
uint32_t expected_crc = crc32_byte(data, size - 4);
if (frame_crc == expected_crc) {
- route_frame(data, size-4);
+ route_incoming_frame(data, size-4);
}
}
}