1
0
Fork 0
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:
Pawel Spychalski (DzikuVx) 2022-04-21 12:51:17 +02:00
parent 2f2719c313
commit c40cfdd143
2 changed files with 1 additions and 11 deletions

View file

@ -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