fix no_std build
Some checks failed
Rust/sat-rs/pipeline/pr-main There was a failure building this commit
Some checks failed
Rust/sat-rs/pipeline/pr-main There was a failure building this commit
This commit is contained in:
parent
e25a71b223
commit
57fd5c8a38
@ -7,22 +7,19 @@
|
|||||||
//! all received telecommands are sent to a special handler object called TC source. Using
|
//! all received telecommands are sent to a special handler object called TC source. Using
|
||||||
//! a design like this makes it simpler to add new TC packet sources or new telemetry generators:
|
//! a design like this makes it simpler to add new TC packet sources or new telemetry generators:
|
||||||
//! They only need to send the received and generated data to these objects.
|
//! They only need to send the received and generated data to these objects.
|
||||||
#[cfg(feature = "std")]
|
|
||||||
use crate::queue::GenericSendError;
|
use crate::queue::GenericSendError;
|
||||||
use crate::{
|
use crate::{
|
||||||
pool::{PoolAddr, PoolError, PoolProvider},
|
pool::{PoolAddr, PoolError},
|
||||||
ComponentId,
|
ComponentId,
|
||||||
};
|
};
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
pub use alloc_mod::*;
|
pub use alloc_mod::*;
|
||||||
use core::cell::RefCell;
|
|
||||||
#[cfg(feature = "alloc")]
|
#[cfg(feature = "alloc")]
|
||||||
use downcast_rs::{impl_downcast, Downcast};
|
use downcast_rs::{impl_downcast, Downcast};
|
||||||
use spacepackets::{
|
use spacepackets::{
|
||||||
ecss::{
|
ecss::{
|
||||||
tc::PusTcReader,
|
tc::PusTcReader,
|
||||||
tm::{PusTmCreator, PusTmReader},
|
tm::{PusTmCreator, PusTmReader},
|
||||||
WritablePusPacket,
|
|
||||||
},
|
},
|
||||||
SpHeader,
|
SpHeader,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user