AP_HAL_ChibiOS: correct AP_Filter defines

- checking the build type is very rarely used and definitely not required here
 - fix boilerplate to conform to normal pattern of including the config header and #if'ing based on the _ENABLED directly after that
This commit is contained in:
Peter Barker 2023-11-21 14:15:44 +11:00 committed by Peter Barker
parent da0efa3323
commit 15e0f689c2
1 changed files with 4 additions and 0 deletions

View File

@ -388,3 +388,7 @@
#ifndef AP_ICENGINE_ENABLED
#define AP_ICENGINE_ENABLED 0
#endif
#ifndef AP_FILTER_ENABLED
#define AP_FILTER_ENABLED 0
#endif