dma2 spi1 guard for dshot ignore on brushed targets
@@ -214,11 +214,12 @@ void spi_dma_transmit_init(spi_ports_t port, uint8_t *base_address_out, uint32_t
}
void spi_dma_wait_for_ready(spi_ports_t port) {
-
+#ifdef BRUSHLESS_TARGET
if (port == SPI_PORT1){
extern volatile int dshot_dma_phase;
while (dshot_dma_phase != 0);
}
+#endif
for (uint16_t timeout = 0x400; DMA_TRANSFER_DONE == 0; timeout--) {
if (timeout == 0) {
//liberror will trigger failloop 7 during boot, or 20 liberrors will trigger failloop 8 in flight
