ArduCopter: use HAL_ENABLE_DSHOT instead of DISABLE_DSHOT

This commit is contained in:
bugobliterator 2022-10-08 06:22:38 +05:30 committed by Andrew Tridgell
parent 4ce32c74de
commit 73aed28be7

View File

@ -255,7 +255,7 @@
//////////////////////////////////////////////////////////////////////////////
// Turtle - allow vehicle to be flipped over after a crash
#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
//////////////////////////////////////////////////////////////////////////////