From d129a9dc2b20b654f8b1b37da47e5408350b5f34 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Wed, 4 Aug 2021 00:53:58 +1200 Subject: [PATCH] Fixed comment in bitbanged Dshot code. --- src/main/drivers/dshot_bitbang.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/drivers/dshot_bitbang.c b/src/main/drivers/dshot_bitbang.c index f8f9379f10..06613b2f25 100644 --- a/src/main/drivers/dshot_bitbang.c +++ b/src/main/drivers/dshot_bitbang.c @@ -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) {