AP_Mount: example fix travis warning

missing function declaration
implicit cast
some style fix
This commit is contained in:
Pierre Kancir 2017-04-13 13:32:02 +02:00 committed by Francisco Ferreira
parent f2812c1efd
commit 0be022694a
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,9 @@
#include <AP_HAL/AP_HAL.h>
#include <AP_Module/AP_Module.h>
void setup();
void loop();
const AP_HAL::HAL& hal = AP_HAL::get_HAL();
// sensor declaration

View File

@ -27,6 +27,9 @@
#include <AP_Mount/AP_Mount.h>
void setup();
void loop();
const AP_HAL::HAL& hal = AP_HAL::get_HAL();
void setup () {