Fix RMT test (#2529)

This commit is contained in:
Dániel Buga 2024-11-13 14:52:11 +01:00 committed by GitHub
parent 7da4444a7e
commit b538e48ea4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,8 +101,6 @@ mod tests {
fn rmt_single_shot_fails_without_end_marker() {
let peripherals = esp_hal::init(esp_hal::Config::default());
let io = Io::new(peripherals.GPIO, peripherals.IO_MUX);
cfg_if::cfg_if! {
if #[cfg(feature = "esp32h2")] {
let freq = 32.MHz();
@ -113,7 +111,7 @@ mod tests {
let rmt = Rmt::new(peripherals.RMT, freq).unwrap();
let (_, tx) = hil_test::common_test_pins!(io);
let (_, tx) = hil_test::common_test_pins!(peripherals);
let tx_config = TxChannelConfig {
clk_divider: 255,