From 3764745de12f1ec25937d7043ad307146138e79a Mon Sep 17 00:00:00 2001 From: Joe Neeman Date: Sat, 18 Nov 2023 17:07:29 -0600 Subject: [PATCH] Fix esp32 --- esp-hal-common/src/rmt.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/esp-hal-common/src/rmt.rs b/esp-hal-common/src/rmt.rs index 7dd6b86f23..41bc278531 100644 --- a/esp-hal-common/src/rmt.rs +++ b/esp-hal-common/src/rmt.rs @@ -1978,7 +1978,9 @@ mod chip_specific { macro_rules! impl_rx_channel { ($channel:ident, $signal:ident, $ch_num:literal) => { paste::paste! { - impl super::private::RxChannelInternal<$ch_num> for super::$channel<$ch_num> { + impl super::private::RxChannelInternal for super::$channel<$ch_num> { + const CHANNEL: u8 = $ch_num; + fn new() -> Self { Self {} }