From 9e0a8050a9ebb65d594d72da4b521b604df512c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Thu, 28 Apr 2022 18:13:50 +0200 Subject: [PATCH] fix dshot: remove setAllFailsafeValues Fixes a regression from c1e5e666f083f08ddca218aef86a22338c8020cd, where with static mixers the dshot outputs would go to max instead of 0 in a failsafe case. --- src/drivers/dshot/DShot.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/drivers/dshot/DShot.cpp b/src/drivers/dshot/DShot.cpp index 46beadf08a..148575b481 100644 --- a/src/drivers/dshot/DShot.cpp +++ b/src/drivers/dshot/DShot.cpp @@ -47,7 +47,6 @@ DShot::DShot() : _mixing_output.setAllDisarmedValues(DSHOT_DISARM_VALUE); _mixing_output.setAllMinValues(DSHOT_MIN_THROTTLE); _mixing_output.setAllMaxValues(DSHOT_MAX_THROTTLE); - _mixing_output.setAllFailsafeValues(UINT16_MAX); } DShot::~DShot()