AP_HAL: fixed AP_MODULE_SUPPORTED

This commit is contained in:
Andrew Tridgell 2018-02-10 10:09:02 +11:00
parent 61892036f8
commit d5be04dc8f

View File

@ -235,3 +235,10 @@
#ifndef HAL_INS_DEFAULT
#define HAL_INS_DEFAULT HAL_INS_NONE
#endif
#ifdef HAVE_LIBDL
#define AP_MODULE_SUPPORTED 1
#else
#define AP_MODULE_SUPPORTED 0
#endif