drivers/dshot: allow min throttle 0

This commit is contained in:
Daniel Agar
2023-01-27 16:12:19 -05:00
parent 48f2b42e12
commit f9bf6fb276
+1 -1
View File
@@ -55,7 +55,7 @@ static constexpr unsigned int DSHOT600 = 600000u;
static constexpr unsigned int DSHOT1200 = 1200000u;
static constexpr int DSHOT_DISARM_VALUE = 0;
static constexpr int DSHOT_MIN_THROTTLE = 1;
static constexpr int DSHOT_MIN_THROTTLE = 0;
static constexpr int DSHOT_MAX_THROTTLE = 1999;
class DShot final : public ModuleBase<DShot>, public OutputModuleInterface