AP_Module: added AP_MODULE_SUPPORTED define

This commit is contained in:
Andrew Tridgell 2016-07-07 19:57:03 +10:00
parent 107f76828d
commit 7a2d67bde9

View File

@ -31,6 +31,12 @@
#include <AP_HAL/AP_HAL.h>
#include <AP_AHRS/AP_AHRS.h>
#ifdef HAVE_LIBDL
#define AP_MODULE_SUPPORTED 1
#else
#define AP_MODULE_SUPPORTED 0
#endif
class AP_Module {
public: