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 fdb3ef51c3..0ffcda0473 100644
--- a/serial_link/protocol/frame_validator.c
+++ b/serial_link/protocol/frame_validator.c
@@ -102,7 +102,7 @@ static uint32_t crc32_byte(uint8_t *p, uint32_t bytelength)
return (crc ^ 0xffffffff);
}
-void recv_frame(uint8_t* data, uint16_t size) {
+void validator_recv_frame(uint8_t* data, uint16_t size) {
if (size > 4) {
uint32_t frame_crc = *(uint32_t*)(data + size - 4);
uint32_t expected_crc = crc32_byte(data, size - 4);