mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Fixed comment in bitbanged Dshot code.
This commit is contained in:
parent
86a0e3cd2c
commit
d129a9dc2b
1 changed files with 1 additions and 1 deletions
|
@ -592,7 +592,7 @@ static void bbUpdateComplete(void)
|
|||
|
||||
#ifdef USE_DSHOT_CACHE_MGMT
|
||||
for (int motorIndex = 0; motorIndex < MAX_SUPPORTED_MOTORS && motorIndex < motorCount; motorIndex++) {
|
||||
// Only clean the buffer once. If all motors are on a common port they'll share a buffer.
|
||||
// Only clean each buffer once. If all motors are on a common port they'll share a buffer.
|
||||
bool clean = false;
|
||||
for (int i = 0; i < motorIndex; i++) {
|
||||
if (bbMotors[motorIndex].bbPort->portOutputBuffer == bbMotors[i].bbPort->portOutputBuffer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue