1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

removed UNUSED macro for motorCount as motorCount is used in line 213 since commit ccf7ce964a

This commit is contained in:
warhog 2019-09-15 21:11:10 +02:00
parent d3c10a6bc3
commit 7b9114d0d8

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;
}