mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Fixup Dshot / Proshot implementation.
This commit is contained in:
parent
7b762e640c
commit
559079ff31
5 changed files with 78 additions and 131 deletions
|
@ -339,6 +339,7 @@ bool mixerIsOutputSaturated(int axis, float errorRate)
|
|||
bool isMotorProtocolDshot(void) {
|
||||
#ifdef USE_DSHOT
|
||||
switch(motorConfig()->dev.motorPwmProtocol) {
|
||||
case PWM_TYPE_PROSHOT1000:
|
||||
case PWM_TYPE_DSHOT1200:
|
||||
case PWM_TYPE_DSHOT600:
|
||||
case PWM_TYPE_DSHOT300:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue