mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
removed UNUSED macro for motorCount as motorCount is used in line 213 since commit ccf7ce964a
This commit is contained in:
parent
d3c10a6bc3
commit
7b9114d0d8
1 changed files with 0 additions and 2 deletions
|
@ -152,8 +152,6 @@ static bool allMotorsAreIdle(void)
|
||||||
|
|
||||||
void dshotCommandWrite(uint8_t index, uint8_t motorCount, uint8_t command, bool blocking)
|
void dshotCommandWrite(uint8_t index, uint8_t motorCount, uint8_t command, bool blocking)
|
||||||
{
|
{
|
||||||
UNUSED(motorCount);
|
|
||||||
|
|
||||||
if (!isMotorProtocolDshot() || (command > DSHOT_MAX_COMMAND) || dshotCommandQueueFull()) {
|
if (!isMotorProtocolDshot() || (command > DSHOT_MAX_COMMAND) || dshotCommandQueueFull()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue