mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 17:25:18 +03:00
Show turtle mode in configurator only if dshot is active
This commit is contained in:
parent
561f13bc83
commit
0132c471c9
1 changed files with 3 additions and 1 deletions
|
@ -33,6 +33,8 @@
|
|||
|
||||
#include "io/osd.h"
|
||||
|
||||
#include "drivers/pwm_output.h"
|
||||
|
||||
#include "sensors/diagnostics.h"
|
||||
#include "sensors/sensors.h"
|
||||
|
||||
|
@ -309,7 +311,7 @@ void initActiveBoxIds(void)
|
|||
#endif
|
||||
|
||||
#ifdef USE_DSHOT
|
||||
if(STATE(MULTIROTOR))
|
||||
if(STATE(MULTIROTOR) && isMotorProtocolDshot())
|
||||
activeBoxIds[activeBoxIdCount++] = BOXFLIPOVERAFTERCRASH;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue