mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Copter: use DISABLE_DSHOT value instead of if defined
This commit is contained in:
parent
ad428ac060
commit
6d4b5cfc1b
@ -255,7 +255,7 @@
|
|||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
// Turtle - allow vehicle to be flipped over after a crash
|
// Turtle - allow vehicle to be flipped over after a crash
|
||||||
#ifndef MODE_TURTLE_ENABLED
|
#ifndef MODE_TURTLE_ENABLED
|
||||||
# define MODE_TURTLE_ENABLED !defined(DISABLE_DSHOT) && FRAME_CONFIG != HELI_FRAME
|
# define MODE_TURTLE_ENABLED !DISABLE_DSHOT && FRAME_CONFIG != HELI_FRAME
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user