From 38fb8018e68011af14c1320f89ad27cfc89d62ab Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Thu, 30 Mar 2023 23:44:21 +0200 Subject: [PATCH] Add extern crc. Signed-off-by: Pol Henarejos --- src/usb/hid/ctap_hid.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/usb/hid/ctap_hid.h b/src/usb/hid/ctap_hid.h index 99af0ac..bc33e26 100644 --- a/src/usb/hid/ctap_hid.h +++ b/src/usb/hid/ctap_hid.h @@ -150,6 +150,8 @@ typedef struct { extern void add_keyboard_buffer(const uint8_t *, size_t, bool); extern void append_keyboard_buffer(const uint8_t *data, size_t data_len); +extern uint16_t calculate_crc(const uint8_t *data, size_t data_len); + #ifdef __cplusplus } #endif