APM_RC: fixed APM1 example sketch

This commit is contained in:
Andrew Tridgell 2012-11-22 15:42:27 +11:00
parent d0a2feb99c
commit d5e1a75616
1 changed files with 3 additions and 0 deletions

View File

@ -6,9 +6,12 @@
* (Works with last PPM_encoder firmware)
*/
#include <FastSerial.h>
#include <Arduino_Mega_ISR_Registry.h>
#include <APM_RC.h> // ArduPilot Mega RC Library
FastSerialPort0(Serial);
Arduino_Mega_ISR_Registry isr_registry;
APM_RC_APM1 APM_RC;