From b9be783b69a716b28034f207917083089cd52488 Mon Sep 17 00:00:00 2001 From: BA-ED <87303752+BA-ED@users.noreply.github.com> Date: Thu, 2 Jun 2022 12:36:40 +0100 Subject: [PATCH] dshot: corrected DShot motor spin direction command Some ESCs don't store DShot_cmd_spin_direction_reversed persistently --- src/drivers/dshot/DShot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/dshot/DShot.cpp b/src/drivers/dshot/DShot.cpp index 641318d994..122cfa391e 100644 --- a/src/drivers/dshot/DShot.cpp +++ b/src/drivers/dshot/DShot.cpp @@ -752,8 +752,8 @@ int DShot::custom_command(int argc, char *argv[]) }; constexpr VerbCommand commands[] = { - {"reverse", DShot_cmd_spin_direction_reversed, 10}, - {"normal", DShot_cmd_spin_direction_normal, 10}, + {"reverse", DShot_cmd_spin_direction_2, 10}, + {"normal", DShot_cmd_spin_direction_1, 10}, {"save", DShot_cmd_save_settings, 10}, {"3d_on", DShot_cmd_3d_mode_on, 10}, {"3d_off", DShot_cmd_3d_mode_off, 10},