We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e20ea4d commit 388577eCopy full SHA for 388577e
src/dma/rx/descriptor.rs
@@ -1,11 +1,9 @@
1
use core::sync::atomic::{self, Ordering};
2
3
-use crate::{
4
- dma::{raw_descriptor::RawDescriptor, PacketId},
5
- ptp::Timestamp,
6
-};
+use crate::dma::{raw_descriptor::RawDescriptor, PacketId, RxError};
7
8
-use super::RxError;
+#[cfg(feature = "ptp")]
+use crate::ptp::Timestamp;
9
10
/// Owned by DMA engine
11
const RXDESC_0_OWN: u32 = 1 << 31;
0 commit comments