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-14 19:21:12 +02:00
parent e8766119ee
commit 59d2a64048
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -7,18 +7,18 @@
//! 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.
use std::sync::mpsc;
#[cfg(feature = "alloc")]
use downcast_rs::{impl_downcast, Downcast};
use spacepackets::SpHeader;
#[cfg(feature = "std")]
use std::sync::mpsc;
#[cfg(feature = "std")]
use crate::queue::GenericSendError;
#[cfg(feature = "std")]
pub mod tc_helper;
pub mod tm_helper;
use crate::queue::GenericSendError;
/// Generic trait for object which can receive any telecommands in form of a raw bytestream, with
/// no assumptions about the received protocol.
///