From 7b9114d0d8839537607b94dd044d5eb61429daa3 Mon Sep 17 00:00:00 2001 From: warhog <547310+warhog@users.noreply.github.com> Date: Sun, 15 Sep 2019 21:11:10 +0200 Subject: [PATCH] removed UNUSED macro for motorCount as motorCount is used in line 213 since commit ccf7ce964a0ad6bba3765d173c6777eafece1090 --- src/main/drivers/dshot_command.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/drivers/dshot_command.c b/src/main/drivers/dshot_command.c index 83630724fa..087fa68495 100644 --- a/src/main/drivers/dshot_command.c +++ b/src/main/drivers/dshot_command.c @@ -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; }