continue destination state machine
Some checks failed
Rust/sat-rs/pipeline/head There was a failure building this commit
Rust/sat-rs/pipeline/pr-main There was a failure building this commit

This commit is contained in:
2023-08-05 18:51:50 +02:00
parent f5c0b0f6bb
commit 95a1295718
3 changed files with 183 additions and 41 deletions

View File

@ -1,3 +1,5 @@
use crc::{Crc, CRC_32_CKSUM};
pub mod dest;
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
@ -17,6 +19,8 @@ pub enum State {
BusyClass2Acked = 3,
}
pub const CRC_32: Crc<u32> = Crc::<u32>::new(&CRC_32_CKSUM);
#[cfg(test)]
mod tests {
#[test]