|
|
|
@ -202,6 +202,10 @@ public:
@@ -202,6 +202,10 @@ public:
|
|
|
|
|
MODE_NEOPIXEL, // same as MODE_PWM_DSHOT at 800kHz but it's an LED
|
|
|
|
|
MODE_PROFILED, // same as MODE_PWM_DSHOT using separate clock and data
|
|
|
|
|
}; |
|
|
|
|
// true when the output mode is of type dshot
|
|
|
|
|
// static to allow use in the ChibiOS thread stuff
|
|
|
|
|
static bool is_dshot_protocol(const enum output_mode mode); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// https://github.com/bitdump/BLHeli/blob/master/BLHeli_32%20ARM/BLHeli_32%20Firmware%20specs/Digital_Cmd_Spec.txt
|
|
|
|
|
enum BLHeliDshotCommand : uint8_t { |
|
|
|
|