HAL_ChibiOS: improved reliability of DShot passthru
thanks to WickedShell for debugging this on his Wraith32 ESCs. We were truncating the last bit on some BLHeli transfers
This commit is contained in:
parent
31e7131c33
commit
f3179e7934
@ -1093,10 +1093,12 @@ bool RCOutput::serial_write_bytes(const uint8_t *bytes, uint16_t len)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
serial_group->dma_handle->unlock();
|
||||
|
||||
// add a small delay for last word of output to have completely
|
||||
// finished
|
||||
hal.scheduler->delay_microseconds(10);
|
||||
hal.scheduler->delay_microseconds(25);
|
||||
|
||||
serial_group->dma_handle->unlock();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user