X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/2813fcb83452c7fd91d799a984613a616180a067..9058451e46e4d36264282abe381aa9b6fd2c773f:/m17app/src/app.rs diff --git a/m17app/src/app.rs b/m17app/src/app.rs index aa040de..fbc9a08 100644 --- a/m17app/src/app.rs +++ b/m17app/src/app.rs @@ -156,7 +156,7 @@ fn spawn_reader(mut tnc: T, adapters: Arc>) { continue; } let lsf = LsfFrame(payload[0..30].try_into().unwrap()); - if lsf.crc() != 0 { + if lsf.check_crc() != 0 { debug!("LSF in full packet frame did not pass CRC"); continue; } @@ -199,7 +199,7 @@ fn spawn_reader(mut tnc: T, adapters: Arc>) { }; if n == 30 { let lsf = LsfFrame(payload[0..30].try_into().unwrap()); - if lsf.crc() != 0 { + if lsf.check_crc() != 0 { debug!("initial LSF in stream did not pass CRC"); continue; }