diff --git a/src/interface/can.rs b/src/interface/can.rs index 2971660..af12524 100644 --- a/src/interface/can.rs +++ b/src/interface/can.rs @@ -1 +1 @@ -/// This is a preliminary implementation of the necessary infrastructure to enable communication over OPS-SAT's internal CAN Bus. +//! This is a preliminary implementation of the necessary infrastructure to enable communication over OPS-SAT's internal CAN Bus. diff --git a/src/interface/mod.rs b/src/interface/mod.rs index e2e5df7..cc4703d 100644 --- a/src/interface/mod.rs +++ b/src/interface/mod.rs @@ -1,3 +1,3 @@ +pub mod can; pub mod tcp; pub mod udp; -pub mod can; diff --git a/src/interface/udp.rs b/src/interface/udp.rs index 5c45e9e..65193a9 100644 --- a/src/interface/udp.rs +++ b/src/interface/udp.rs @@ -82,6 +82,7 @@ mod tests { sync::{Arc, Mutex}, }; + use ops_sat_rs::config::{components, OBSW_SERVER_ADDR}; use satrs::{ spacepackets::{ ecss::{tc::PusTcCreator, WritablePusPacket}, @@ -89,7 +90,6 @@ mod tests { }, tmtc::ReceivesTcCore, }; - use ops_sat_rs::config::{components, OBSW_SERVER_ADDR}; use super::*; diff --git a/src/tmtc/mod.rs b/src/tmtc/mod.rs index 5ac0153..fc28a37 100644 --- a/src/tmtc/mod.rs +++ b/src/tmtc/mod.rs @@ -10,8 +10,8 @@ use satrs::{ use std::sync::mpsc::{self, SendError, Sender, TryRecvError}; use thiserror::Error; -pub mod tm_funnel; pub mod ccsds; +pub mod tm_funnel; #[derive(Debug, Clone, PartialEq, Eq, Error)] pub enum MpscStoreAndSendError {