Skip to content
Snippets Groups Projects
Commit 96079f49 authored by JoãoFRF's avatar JoãoFRF Committed by Patrick José Pereira
Browse files

changed fn_calculate_crc to pub

QOL
parent 12089600
Branches
No related tags found
No related merge requests found
......@@ -206,7 +206,7 @@ impl<M: Message> MavFrame<M> {
}
}
fn calculate_crc(data: &[u8], extra_crc: u8) -> u16 {
pub fn calculate_crc(data: &[u8], extra_crc: u8) -> u16 {
let mut crc_calculator = CRCu16::crc16mcrf4cc();
crc_calculator.digest(data);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment