Merge pull request #10882 from mikeller/fix_bitbanged_dshot_comment

Fixed comment in bitbanged Dshot code.
This commit is contained in:
Michael Keller 2021-08-09 03:13:03 +12:00 committed by GitHub
commit 9705f9f77e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -593,7 +593,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) {