From 6d4b5cfc1bdf1f5039cbd60a08d8b8a9c282ab26 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Mon, 29 Aug 2022 10:17:30 +0530 Subject: [PATCH] Copter: use DISABLE_DSHOT value instead of if defined --- ArduCopter/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/config.h b/ArduCopter/config.h index da7a67f66f..e5e091a089 100644 --- a/ArduCopter/config.h +++ b/ArduCopter/config.h @@ -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 //////////////////////////////////////////////////////////////////////////////