mirror of https://github.com/ArduPilot/ardupilot
AP_InertialSensor: fix example
This commit is contained in:
parent
f2570d49a1
commit
c8a7ab1a75
|
@ -5,10 +5,14 @@
|
|||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <AP_BoardConfig/AP_BoardConfig.h>
|
||||
#include <AP_InertialSensor/AP_InertialSensor.h>
|
||||
#include <AP_ExternalAHRS/AP_ExternalAHRS.h>
|
||||
|
||||
const AP_HAL::HAL &hal = AP_HAL::get_HAL();
|
||||
|
||||
static AP_InertialSensor ins;
|
||||
#if HAL_EXTERNAL_AHRS_ENABLED
|
||||
static AP_ExternalAHRS eAHRS;
|
||||
#endif // HAL_EXTERNAL_AHRS_ENABLED
|
||||
|
||||
static void display_offsets_and_scaling();
|
||||
static void run_test();
|
||||
|
|
Loading…
Reference in New Issue