mirror of https://github.com/ArduPilot/ardupilot
AP_NMEA_Output: take advantage of AP_Vehicle supplying dummy methods
This commit is contained in:
parent
a158b4f7b9
commit
0e36ca3154
|
@ -50,14 +50,6 @@ public:
|
||||||
void init() {
|
void init() {
|
||||||
BoardConfig.init();
|
BoardConfig.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
// methods for AP_Vehicle:
|
|
||||||
AP_Int32 log_bitmask;
|
|
||||||
const AP_Int32 &get_log_bitmask() override { return log_bitmask; }
|
|
||||||
const struct LogStructure *get_log_structures() const override {
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
uint8_t get_num_log_structures() const override { return 0; }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static DummyVehicle vehicle;
|
static DummyVehicle vehicle;
|
||||||
|
|
Loading…
Reference in New Issue