AP_RCProtocol: fix missing-declaration warning in example

This commit is contained in:
Peter Barker
2019-06-04 10:25:15 +10:00
committed by Andrew Tridgell
parent 73c81519da
commit cbf6d44277
@@ -20,6 +20,9 @@
const AP_HAL::HAL& hal = AP_HAL::get_HAL();
void setup();
void loop();
#if CONFIG_HAL_BOARD == HAL_BOARD_LINUX || CONFIG_HAL_BOARD == HAL_BOARD_SITL
#include <AP_RCProtocol/AP_RCProtocol.h>
@@ -34,10 +37,6 @@ const AP_HAL::HAL& hal = AP_HAL::get_HAL();
#include <string.h>
#include <errno.h>
void setup();
void loop();
static AP_RCProtocol *rcprot;
// change this to the device being tested.