diff --git a/src/spi.rs b/src/spi.rs index 7628a0a..c2f5dcc 100644 --- a/src/spi.rs +++ b/src/spi.rs @@ -133,7 +133,7 @@ impl , // Disable chip select cortex_m::asm::delay(10_u32); self.nss.set_high(); - cortex_m::asm::delay(4_u32); + cortex_m::asm::delay(5_u32); Ok(buf[2]) }, // TODO: Maybe too naive? @@ -141,7 +141,7 @@ impl , // Disable chip select cortex_m::asm::delay(10_u32); self.nss.set_high(); - cortex_m::asm::delay(4_u32); + cortex_m::asm::delay(5_u32); Err(SpiPortError::TransferError) } }