dshot: corrected DShot motor spin direction command

Some ESCs don't store DShot_cmd_spin_direction_reversed persistently
This commit is contained in:
BA-ED
2022-06-02 12:36:40 +01:00
committed by GitHub
parent d390e6d46d
commit b9be783b69
+2 -2
View File
@@ -752,8 +752,8 @@ int DShot::custom_command(int argc, char *argv[])
}; };
constexpr VerbCommand commands[] = { constexpr VerbCommand commands[] = {
{"reverse", DShot_cmd_spin_direction_reversed, 10}, {"reverse", DShot_cmd_spin_direction_2, 10},
{"normal", DShot_cmd_spin_direction_normal, 10}, {"normal", DShot_cmd_spin_direction_1, 10},
{"save", DShot_cmd_save_settings, 10}, {"save", DShot_cmd_save_settings, 10},
{"3d_on", DShot_cmd_3d_mode_on, 10}, {"3d_on", DShot_cmd_3d_mode_on, 10},
{"3d_off", DShot_cmd_3d_mode_off, 10}, {"3d_off", DShot_cmd_3d_mode_off, 10},