Browse Source

AP_Mount: example fix travis warning

missing function declaration
implicit cast
some style fix
master
Pierre Kancir 8 years ago committed by Francisco Ferreira
parent
commit
0be022694a
  1. 3
      libraries/AP_Module/examples/ModuleTest/ModuleTest.cpp
  2. 3
      libraries/AP_Mount/examples/trivial_AP_Mount/trivial_AP_Mount.cpp

3
libraries/AP_Module/examples/ModuleTest/ModuleTest.cpp

@ -7,6 +7,9 @@ @@ -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

3
libraries/AP_Mount/examples/trivial_AP_Mount/trivial_AP_Mount.cpp

@ -27,6 +27,9 @@ @@ -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 () {

Loading…
Cancel
Save