1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Merge pull request #8897 from warhog/master

Removed usage of UNUSED macro for motorCount as motorCount is used now
This commit is contained in:
Michael Keller 2019-09-17 12:09:46 +12:00 committed by GitHub
commit 1d0afd8d50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,8 +152,6 @@ static bool allMotorsAreIdle(void)
void dshotCommandWrite(uint8_t index, uint8_t motorCount, uint8_t command, bool blocking)
{
UNUSED(motorCount);
if (!isMotorProtocolDshot() || (command > DSHOT_MAX_COMMAND) || dshotCommandQueueFull()) {
return;
}