This is ugly, but it fixes compilation on arduino

This commit is contained in:
Amilcar Lucas 2011-09-11 23:25:06 +02:00
parent ce010b4e38
commit 46f9d4cec8
2 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,7 @@ version 2.1 of the License, or (at your option) any later version.
#include <AP_DCM.h> // ArduPilot Mega DCM Library
#include <PID.h> // PID library
#include <RC_Channel.h> // RC Channel Library
#include <../libraries/RC_Channel/RC_Channel_aux.h> // Auxiliary RC Channel Library (Channels 5..8)
//#include <RC_Channel/RC_Channel_aux.h> // Auxiliary RC Channel Library (Channels 5..8)
#include <AP_RangeFinder.h> // Range finder library
#include <ModeFilter.h>
#include <AP_Camera.h> // Photo or video camera

View File

@ -102,4 +102,6 @@ class RC_Channel{
int16_t _low;
};
#include "RC_Channel_aux.h"
#endif