AP_AHRS: Use GCS_Dummy GCS singleton

This commit is contained in:
Peter Barker 2017-03-11 13:45:55 +11:00 committed by Francisco Ferreira
parent 3f43789742
commit 3e0ed6deae

View File

@ -6,7 +6,7 @@
#include <AP_AHRS/AP_AHRS.h>
#include <AP_HAL/AP_HAL.h>
#include <AP_BoardConfig/AP_BoardConfig.h>
#include <GCS_MAVLink/GCS.h>
#include <GCS_MAVLink/GCS_Dummy.h>
void setup();
void loop();
@ -95,6 +95,9 @@ void loop(void)
}
}
GCS _gcs;
const struct AP_Param::GroupInfo GCS_MAVLINK::var_info[] = {
AP_GROUPEND
};
GCS_Dummy _gcs;
AP_HAL_MAIN();