From d42cfda2db1d2ca9d9d3c1ca0de044de1d0a5652 Mon Sep 17 00:00:00 2001 From: Tyler Gilbert Date: Sat, 30 Sep 2023 19:51:00 -0500 Subject: [PATCH] Issue #1986 add PartialEq to SyncEnable to fix build error on sai_v4 --- embassy-stm32/src/sai/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-stm32/src/sai/mod.rs b/embassy-stm32/src/sai/mod.rs index a89c132c..b1b5107b 100644 --- a/embassy-stm32/src/sai/mod.rs +++ b/embassy-stm32/src/sai/mod.rs @@ -206,7 +206,7 @@ impl Protocol { } } -#[derive(Copy, Clone)] +#[derive(Copy, Clone, PartialEq)] pub enum SyncEnable { Asynchronous, /// Syncs with the other A/B sub-block within the SAI unit