replace inspect() with direct calls to trace!() after awaiting

This commit is contained in:
kbleeke
2023-03-21 19:39:41 +01:00
parent 29494a9296
commit 359b1c7fdb
2 changed files with 12 additions and 20 deletions

View File

@ -155,13 +155,13 @@ where
SM: PioStateMachine,
DMA: Channel,
{
async fn cmd_write(&mut self, write: & [u32]) {
async fn cmd_write(&mut self, write: &[u32]) {
self.cs.set_low();
self.write(write).await;
self.cs.set_high();
}
async fn cmd_read(&mut self, write: u32, read: & mut [u32]) {
async fn cmd_read(&mut self, write: u32, read: &mut [u32]) {
self.cs.set_low();
self.cmd_read(write, read).await;
self.cs.set_high();