mirror of https://github.com/ArduPilot/ardupilot
APM_RC: fixed APM1 example sketch
This commit is contained in:
parent
d0a2feb99c
commit
d5e1a75616
|
@ -6,9 +6,12 @@
|
||||||
* (Works with last PPM_encoder firmware)
|
* (Works with last PPM_encoder firmware)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <FastSerial.h>
|
||||||
#include <Arduino_Mega_ISR_Registry.h>
|
#include <Arduino_Mega_ISR_Registry.h>
|
||||||
#include <APM_RC.h> // ArduPilot Mega RC Library
|
#include <APM_RC.h> // ArduPilot Mega RC Library
|
||||||
|
|
||||||
|
FastSerialPort0(Serial);
|
||||||
|
|
||||||
Arduino_Mega_ISR_Registry isr_registry;
|
Arduino_Mega_ISR_Registry isr_registry;
|
||||||
APM_RC_APM1 APM_RC;
|
APM_RC_APM1 APM_RC;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue