diff --git a/libraries/AP_HAL/AP_HAL_Boards.h b/libraries/AP_HAL/AP_HAL_Boards.h index 77d18423f4..5321ce5fff 100644 --- a/libraries/AP_HAL/AP_HAL_Boards.h +++ b/libraries/AP_HAL/AP_HAL_Boards.h @@ -251,3 +251,7 @@ #ifndef USE_LIBC_REALLOC #define USE_LIBC_REALLOC 1 #endif + +#ifndef HAL_ENABLE_THREAD_STATISTICS +#define HAL_ENABLE_THREAD_STATISTICS 0 +#endif