mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
ArduCopter: use HAL_ENABLE_DSHOT instead of DISABLE_DSHOT
This commit is contained in:
parent
4ce32c74de
commit
73aed28be7
@ -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 !DISABLE_DSHOT && FRAME_CONFIG != HELI_FRAME
|
# define MODE_TURTLE_ENABLED HAL_ENABLE_DSHOT && FRAME_CONFIG != HELI_FRAME
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user