AP_HAL_FLYMAPLE: Improved libmaple version detection

This commit is contained in:
Mike McCauley 2013-10-04 07:27:08 +10:00 committed by Andrew Tridgell
parent 07b8f45770
commit 60921f7dfa
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
#include <wirish.h>
// This define is added by mikems patched version of libmaple
#ifndef LIBMAPLE_VERSION_MAJOR
#if LIBMAPLE_VERSION_MAJOR == 0 && LIBMAPLE_VERSION_MINOR < 100
#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