aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src
diff options
context:
space:
mode:
authorTyler Gilbert <[email protected]>2023-09-30 19:51:00 -0500
committerTyler Gilbert <[email protected]>2023-09-30 19:51:00 -0500
commitd42cfda2db1d2ca9d9d3c1ca0de044de1d0a5652 (patch)
tree8dbff7ccadc3722c7993f22fc6ec7114c5af1f12 /embassy-stm32/src
parentd1f4511cd14e851b0fa8c54d45131095ee8edbe0 (diff)
Issue #1986 add PartialEq to SyncEnable to fix build error on sai_v4
Diffstat (limited to 'embassy-stm32/src')
-rw-r--r--embassy-stm32/src/sai/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/sai/mod.rs b/embassy-stm32/src/sai/mod.rs
index a89c132c3..b1b5107b2 100644
--- a/embassy-stm32/src/sai/mod.rs
+++ b/embassy-stm32/src/sai/mod.rs
@@ -206,7 +206,7 @@ impl Protocol {
206 } 206 }
207} 207}
208 208
209#[derive(Copy, Clone)] 209#[derive(Copy, Clone, PartialEq)]
210pub enum SyncEnable { 210pub enum SyncEnable {
211 Asynchronous, 211 Asynchronous,
212 /// Syncs with the other A/B sub-block within the SAI unit 212 /// Syncs with the other A/B sub-block within the SAI unit