refactor(firmware): simplify configuration and diagnostics
This commit is contained in:
1 parent
ba9c97ed3b
commit
fdf82a5114
96 files changed
+1612
-2772
No files matched your search
@@ -8,7 +8,7 @@
|
||||
#![no_std]
|
||||
|
||||
use kaptan_dma::TxCompletion;
|
||||
use kaptan_log::KaptanError;
|
||||
use kaptan_err_propagate::KaptanError;
|
||||
use kaptan_mavlink::message::MessageData;
|
||||
use kaptan_mavlink::{
|
||||
MavlinkFrame,
|
||||
@@ -80,10 +80,13 @@ pub struct VerticalDataConfig {
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq, KaptanError)]
|
||||
pub enum DataChannelError {
|
||||
/// A configured channel must be due at least once per second.
|
||||
#[kaptan_error(id = 4001)]
|
||||
ZeroRate,
|
||||
/// A configured channel exceeds the service frequency.
|
||||
#[kaptan_error(id = 4002)]
|
||||
RateExceedsServiceFrequency,
|
||||
/// Two configured channels cannot share the one-frame-per-tick budget.
|
||||
#[kaptan_error(id = 4003)]
|
||||
ScheduleFull,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user