diff options
| author | Raul Alimbekov <[email protected]> | 2025-12-16 09:05:22 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-16 09:05:22 +0300 |
| commit | c9a04b4b732b7a3b696eb8223664c1a7942b1875 (patch) | |
| tree | 6dbe5c02e66eed8d8762f13f95afd24f8db2b38c /cyw43/src/consts.rs | |
| parent | cde24a3ef1117653ba5ed4184102b33f745782fb (diff) | |
| parent | 5ae6e060ec1c90561719aabdc29d5b6e7b8b0a82 (diff) | |
Merge branch 'main' into main
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 |
