refactor(firmware): centralize configuration and diagnostics
This commit is contained in:
1 parent
7048ed89d0
commit
387fdaad23
140 files changed
+6891
-4541
No files matched your search
@@ -44,6 +44,16 @@ pub enum EnqueueResult {
|
||||
BestEffortDropped,
|
||||
}
|
||||
|
||||
impl EnqueueResult {
|
||||
/// Whether the submitted frame remains represented by the queue.
|
||||
pub const fn is_retained(self) -> bool {
|
||||
matches!(
|
||||
self,
|
||||
Self::Enqueued | Self::ReplacedBestEffort | Self::ReplacedCritical
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
/// Result of attempting to begin a transfer.
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
pub enum StartOutcome {
|
||||
|
||||
Reference in new issue
Block a user