fix no_std build
Some checks failed
Rust/sat-rs/pipeline/pr-main There was a failure building this commit

This commit is contained in:
Robin Müller 2024-04-15 23:37:08 +02:00
parent e25a71b223
commit 57fd5c8a38
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -7,22 +7,19 @@
//! 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:
//! They only need to send the received and generated data to these objects.
#[cfg(feature = "std")]
use crate::queue::GenericSendError;
use crate::{
pool::{PoolAddr, PoolError, PoolProvider},
pool::{PoolAddr, PoolError},
ComponentId,
};
#[cfg(feature = "std")]
pub use alloc_mod::*;
use core::cell::RefCell;
#[cfg(feature = "alloc")]
use downcast_rs::{impl_downcast, Downcast};
use spacepackets::{
ecss::{
tc::PusTcReader,
tm::{PusTmCreator, PusTmReader},
WritablePusPacket,
},
SpHeader,
};