AP_HAL_FLYMAPLE: Add test for correct version of libmaple

Patched version of libmapl is required for Flymaple I2Driver to work.
This commit is contained in:
Mike McCauley 2013-10-03 17:38:35 +10:00 committed by Andrew Tridgell
parent 1f7272978c
commit 39f9b7bbc9

View File

@ -26,3 +26,8 @@
#include <wirish.h>
// This define is added by mikems patched version of libmaple
#ifndef LIBMAPLE_VERSION_MAJOR
#error Incorrect version of libmaple. The version of libmaple you are using is incorrect, and will not work with ArduPilot Flymaple. Please see the FlymaplePortingNotes.txt in your ArduPilot distribution
#endif