diff options
| author | eZio Pan <[email protected]> | 2024-03-21 16:06:34 +0800 |
|---|---|---|
| committer | eZio Pan <[email protected]> | 2024-03-23 09:15:25 +0800 |
| commit | 0d065ab2d658ebfad0c6e4bba562e474d6ca1012 (patch) | |
| tree | b72d8798c8bbd0c5327a41b2cdb55d39082a58ac /embassy-stm32/src | |
| parent | c42d9f9eaae546faae46c4d1121f1fbc393c2073 (diff) | |
stm32 CORDIC: add HIL test
Diffstat (limited to 'embassy-stm32/src')
| -rw-r--r-- | embassy-stm32/src/cordic/errors.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-stm32/src/cordic/errors.rs b/embassy-stm32/src/cordic/errors.rs index 2c0aca4a2..9020d8467 100644 --- a/embassy-stm32/src/cordic/errors.rs +++ b/embassy-stm32/src/cordic/errors.rs | |||
| @@ -46,6 +46,7 @@ impl defmt::Format for CordicError { | |||
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | /// Error dring parsing [Cordic::Config](super::Config) | 48 | /// Error dring parsing [Cordic::Config](super::Config) |
| 49 | #[allow(dead_code)] | ||
| 49 | #[derive(Debug)] | 50 | #[derive(Debug)] |
| 50 | pub struct ConfigError { | 51 | pub struct ConfigError { |
| 51 | pub(super) func: Function, | 52 | pub(super) func: Function, |
| @@ -71,6 +72,7 @@ impl defmt::Format for ConfigError { | |||
| 71 | } | 72 | } |
| 72 | 73 | ||
| 73 | /// Error on checking input arguments | 74 | /// Error on checking input arguments |
| 75 | #[allow(dead_code)] | ||
| 74 | #[derive(Debug)] | 76 | #[derive(Debug)] |
| 75 | pub struct ArgError { | 77 | pub struct ArgError { |
| 76 | pub(super) func: Function, | 78 | pub(super) func: Function, |
