diff --git a/libraries/AP_Baro/examples/BARO_generic/BARO_generic.cpp b/libraries/AP_Baro/examples/BARO_generic/BARO_generic.cpp index e005879779..99338accfc 100644 --- a/libraries/AP_Baro/examples/BARO_generic/BARO_generic.cpp +++ b/libraries/AP_Baro/examples/BARO_generic/BARO_generic.cpp @@ -5,6 +5,8 @@ #include #include #include +#include + const AP_HAL::HAL &hal = AP_HAL::get_HAL(); @@ -67,4 +69,10 @@ void loop() } } +const struct AP_Param::GroupInfo GCS_MAVLINK::var_info[] = { + AP_GROUPEND +}; +GCS_Dummy _gcs; + + AP_HAL_MAIN();