diff options
Diffstat (limited to 'cyw43/src/consts.rs')
| -rw-r--r-- | cyw43/src/consts.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cyw43/src/consts.rs b/cyw43/src/consts.rs index c3f0dbfd8..e561d4794 100644 --- a/cyw43/src/consts.rs +++ b/cyw43/src/consts.rs | |||
| @@ -177,9 +177,11 @@ pub(crate) enum Security { | |||
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | #[allow(non_camel_case_types)] | 179 | #[allow(non_camel_case_types)] |
| 180 | #[derive(Copy, Clone)] | 180 | #[derive(Copy, Clone, PartialEq, num_enum::FromPrimitive)] |
| 181 | #[repr(u8)] | 181 | #[repr(u8)] |
| 182 | pub enum EStatus { | 182 | pub enum EStatus { |
| 183 | #[num_enum(default)] | ||
| 184 | Unknown = 0xFF, | ||
| 183 | /// operation was successful | 185 | /// operation was successful |
| 184 | SUCCESS = 0, | 186 | SUCCESS = 0, |
| 185 | /// operation failed | 187 | /// operation failed |
