Skip to content

Commit

Permalink
AP_HAL: add dshot commands and ESC types for extended dshot telemetry…
Browse files Browse the repository at this point in the history
… (EDT)
  • Loading branch information
andyp1per authored and tridge committed Jun 26, 2023
1 parent 262b11f commit 62fc1b9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libraries/AP_HAL/RCOutput.h
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ class AP_HAL::RCOutput {
DSHOT_3D_OFF = 9,
DSHOT_3D_ON = 10,
DSHOT_SAVE = 12,
DSHOT_EXTENDED_TELEMETRY_ENABLE = 13,
DSHOT_EXTENDED_TELEMETRY_DISABLE = 14,
DSHOT_NORMAL = 20,
DSHOT_REVERSE = 21,
// The following options are only available on BLHeli32
Expand All @@ -265,7 +267,9 @@ class AP_HAL::RCOutput {
enum DshotEscType {
DSHOT_ESC_NONE = 0,
DSHOT_ESC_BLHELI = 1,
DSHOT_ESC_BLHELI_S = 2
DSHOT_ESC_BLHELI_S = 2,
DSHOT_ESC_BLHELI_EDT = 3,
DSHOT_ESC_BLHELI_EDT_S = 4
};

virtual void set_output_mode(uint32_t mask, enum output_mode mode) {}
Expand Down

0 comments on commit 62fc1b9

Please sign in to comment.