Copter: use HAL_PARACHUTE_ENABLED and HAL_SPRAYER_ENABLED
This commit is contained in:
parent
41353d9357
commit
1350f6e338
@ -224,7 +224,7 @@
|
|||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
// Crop Sprayer - enabled only on larger firmwares
|
// Crop Sprayer - enabled only on larger firmwares
|
||||||
#ifndef SPRAYER_ENABLED
|
#ifndef SPRAYER_ENABLED
|
||||||
# define SPRAYER_ENABLED !HAL_MINIMIZE_FEATURES
|
# define SPRAYER_ENABLED HAL_SPRAYER_ENABLED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
@ -254,7 +254,7 @@
|
|||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
// Parachute release
|
// Parachute release
|
||||||
#ifndef PARACHUTE
|
#ifndef PARACHUTE
|
||||||
# define PARACHUTE ENABLED
|
# define PARACHUTE HAL_PARACHUTE_ENABLED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user