rp: don't use SetConfig trait in PWM and PIO.

It was intended to allow changing baudrate on shared spi/i2c. There's no
advantage in using it for PWM or PIO, and makes it less usable because you have to
have `embassy-embedded-hal` as a dep to use it.
This commit is contained in:
Dario Nieuwenhuis
2023-05-13 02:11:01 +02:00
parent dec75474d5
commit 2fcdfc4876
7 changed files with 6 additions and 20 deletions

View File

@ -4,7 +4,6 @@
use core::fmt::Write;
use embassy_embedded_hal::SetConfig;
use embassy_executor::Spawner;
use embassy_rp::dma::{AnyChannel, Channel};
use embassy_rp::peripherals::PIO0;