Browse Source

dshot: corrected DShot motor spin direction command

Some ESCs don't store DShot_cmd_spin_direction_reversed persistently
main
BA-ED 3 years ago committed by GitHub
parent
commit
b9be783b69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/drivers/dshot/DShot.cpp

4
src/drivers/dshot/DShot.cpp

@ -752,8 +752,8 @@ int DShot::custom_command(int argc, char *argv[]) @@ -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},

Loading…
Cancel
Save