|
|
|
@ -2,9 +2,9 @@
@@ -2,9 +2,9 @@
|
|
|
|
|
generic Baro driver test |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
#include <AP_HAL/AP_HAL.h> |
|
|
|
|
#include <AP_Baro/AP_Baro.h> |
|
|
|
|
#include <AP_BoardConfig/AP_BoardConfig.h> |
|
|
|
|
#include <AP_HAL/AP_HAL.h> |
|
|
|
|
|
|
|
|
|
const AP_HAL::HAL &hal = AP_HAL::get_HAL(); |
|
|
|
|
|
|
|
|
@ -13,6 +13,9 @@ static AP_Baro barometer;
@@ -13,6 +13,9 @@ static AP_Baro barometer;
|
|
|
|
|
static uint32_t timer; |
|
|
|
|
static uint8_t counter; |
|
|
|
|
|
|
|
|
|
void setup(); |
|
|
|
|
void loop(); |
|
|
|
|
|
|
|
|
|
void setup() |
|
|
|
|
{ |
|
|
|
|
hal.console->printf("Barometer library test\n"); |
|
|
|
|