AP_HAL: add HAL_INS_ENABLED

This commit is contained in:
Siddharth Purohit 2021-06-23 10:52:31 +05:30 committed by Andrew Tridgell
parent 0e4fbe7c46
commit 69009568b2

View File

@ -260,3 +260,7 @@
#ifndef HAL_ENABLE_THREAD_STATISTICS
#define HAL_ENABLE_THREAD_STATISTICS 0
#endif
#ifndef HAL_INS_ENABLED
#define HAL_INS_ENABLED (!defined(HAL_BUILD_AP_PERIPH))
#endif