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
@@ -1,8 +1,8 @@
|
||||
use kaptan_config_derive::ConfigValidate;
|
||||
use kaptan_config_derive::Config;
|
||||
|
||||
#[derive(ConfigValidate)]
|
||||
#[derive(Config)]
|
||||
struct RootBooleanConfig {
|
||||
#[config(id = 1, key = "enabled", unit = "bool", default = true)]
|
||||
#[config(id = 1, key = "enabled", unit = "bool")]
|
||||
enabled: bool,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user