Browse Source

AP_Notify: example fix travis warning

missing function declaration
implicit cast
some style fix
mission-4.1.18
Pierre Kancir 8 years ago committed by Francisco Ferreira
parent
commit
2f50e865c2
  1. 3
      libraries/AP_Notify/examples/AP_Notify_test/AP_Notify_test.cpp
  2. 5
      libraries/AP_Notify/examples/ToshibaLED_test/ToshibaLED_test.cpp

3
libraries/AP_Notify/examples/AP_Notify_test/AP_Notify_test.cpp

@ -7,6 +7,9 @@ @@ -7,6 +7,9 @@
#include <AP_Notify/AP_Notify.h> // Notify library
#include <AP_Notify/AP_BoardLED.h> // Board LED library
void setup();
void loop();
const AP_HAL::HAL& hal = AP_HAL::get_HAL();
// create board led object

5
libraries/AP_Notify/examples/ToshibaLED_test/ToshibaLED_test.cpp

@ -2,6 +2,11 @@ @@ -2,6 +2,11 @@
#include <AP_Notify/AP_Notify.h>
#include <AP_Notify/ToshibaLED_I2C.h>
void setup();
void loop();
void full_spectrum();
void blink();
const AP_HAL::HAL& hal = AP_HAL::get_HAL();
static ToshibaLED_I2C toshiba_led;

Loading…
Cancel
Save