diff options
| author | James Munns <[email protected]> | 2023-10-06 17:45:35 +0200 |
|---|---|---|
| committer | James Munns <[email protected]> | 2023-10-06 17:45:35 +0200 |
| commit | 930b8f34953596c550ca47bb35d8ab1d19d8feed (patch) | |
| tree | ff259c5ced90358839085d598878012b238afc7d /examples/stm32h7/src/bin/camera.rs | |
| parent | 65ed19aae272d6d6320554446f9187ec2ef8bf39 (diff) | |
Add some uncontroversial derives to Error types
Diffstat (limited to 'examples/stm32h7/src/bin/camera.rs')
| -rw-r--r-- | examples/stm32h7/src/bin/camera.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32h7/src/bin/camera.rs b/examples/stm32h7/src/bin/camera.rs index de8ddc292..c22ce4e04 100644 --- a/examples/stm32h7/src/bin/camera.rs +++ b/examples/stm32h7/src/bin/camera.rs | |||
| @@ -184,7 +184,7 @@ mod ov7725 { | |||
| 184 | 184 | ||
| 185 | const CAM_ADDR: u8 = 0x21; | 185 | const CAM_ADDR: u8 = 0x21; |
| 186 | 186 | ||
| 187 | #[derive(Format)] | 187 | #[derive(Format, PartialEq, Eq)] |
| 188 | pub enum Error<I2cError: Format> { | 188 | pub enum Error<I2cError: Format> { |
| 189 | I2c(I2cError), | 189 | I2c(I2cError), |
| 190 | } | 190 | } |
