mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 09:45:37 +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:
commit
1d0afd8d50
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