1
0
Fork 0
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:
Michael Keller 2021-08-04 00:53:58 +12:00
parent 86a0e3cd2c
commit d129a9dc2b

View file

@ -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) {