mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 01:35:35 +03:00
Change fallback ESC protocol to Multishort when DSHOT is not available
This commit is contained in:
parent
2f2719c313
commit
c40cfdd143
2 changed files with 1 additions and 11 deletions
|
@ -239,7 +239,7 @@ void validateAndFixConfig(void)
|
|||
// Limitations of different protocols
|
||||
#if !defined(USE_DSHOT)
|
||||
if (motorConfig()->motorPwmProtocol > PWM_TYPE_BRUSHED) {
|
||||
motorConfigMutable()->motorPwmProtocol = PWM_TYPE_STANDARD;
|
||||
motorConfigMutable()->motorPwmProtocol = PWM_TYPE_MULTISHOT;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue