refactor(firmware): centralize configuration and diagnostics

This commit is contained in:
Onur Özkan committed 2026-08-22 18:37:18 +03:00
1 parent 7048ed89d0
commit 387fdaad23
140 files changed
+6891 -4541

No files matched your search

+10
View File
@@ -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 {