Copter: use HAL_PARACHUTE_ENABLED and HAL_SPRAYER_ENABLED

This commit is contained in:
Andrew Tridgell 2020-01-18 09:57:48 +11:00
parent 41353d9357
commit 1350f6e338

View File

@ -224,7 +224,7 @@
//////////////////////////////////////////////////////////////////////////////
// Crop Sprayer - enabled only on larger firmwares
#ifndef SPRAYER_ENABLED
# define SPRAYER_ENABLED !HAL_MINIMIZE_FEATURES
# define SPRAYER_ENABLED HAL_SPRAYER_ENABLED
#endif
//////////////////////////////////////////////////////////////////////////////
@ -254,7 +254,7 @@
//////////////////////////////////////////////////////////////////////////////
// Parachute release
#ifndef PARACHUTE
# define PARACHUTE ENABLED
# define PARACHUTE HAL_PARACHUTE_ENABLED
#endif
//////////////////////////////////////////////////////////////////////////////