mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 11:59:17 +08:00
dshot: corrected DShot motor spin direction command
Some ESCs don't store DShot_cmd_spin_direction_reversed persistently
This commit is contained in:
@@ -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},
|
||||||
|
|||||||
Reference in New Issue
Block a user