Copter: use DISABLE_DSHOT value instead of if defined

This commit is contained in:
bugobliterator 2022-08-29 10:17:30 +05:30 committed by Andrew Tridgell
parent ad428ac060
commit 6d4b5cfc1b
1 changed files with 1 additions and 1 deletions

View File

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