Browse Source

fix dshot: remove setAllFailsafeValues

Fixes a regression from c1e5e666f0,
where with static mixers the dshot outputs would go to max instead of 0
in a failsafe case.
main
Beat Küng 3 years ago committed by Daniel Agar
parent
commit
9e0a8050a9
  1. 1
      src/drivers/dshot/DShot.cpp

1
src/drivers/dshot/DShot.cpp

@ -47,7 +47,6 @@ DShot::DShot() : @@ -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()

Loading…
Cancel
Save