Copter: rename dshot define

This commit is contained in:
Andy Piper 2023-05-27 18:01:57 +01:00 committed by Andrew Tridgell
parent 0b4838475d
commit 49bdf7a295
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 HAL_ENABLE_DSHOT && FRAME_CONFIG != HELI_FRAME
# define MODE_TURTLE_ENABLED HAL_DSHOT_ENABLED && FRAME_CONFIG != HELI_FRAME
#endif
//////////////////////////////////////////////////////////////////////////////