mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tracker: remove CLI
This commit is contained in:
parent
233d49797e
commit
90948bef05
@ -1,15 +1,6 @@
|
||||
#include "GCS_Tracker.h"
|
||||
#include "Tracker.h"
|
||||
|
||||
bool GCS_Tracker::cli_enabled() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
AP_HAL::BetterStream* GCS_Tracker::cliSerial() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
static void mavlink_snoop_static(const mavlink_message_t* msg)
|
||||
{
|
||||
tracker.mavlink_snoop(msg);
|
||||
|
@ -25,7 +25,4 @@ private:
|
||||
|
||||
GCS_MAVLINK_Tracker _chan[MAVLINK_COMM_NUM_BUFFERS];
|
||||
|
||||
bool cli_enabled() const override;
|
||||
AP_HAL::BetterStream* cliSerial() override;
|
||||
|
||||
};
|
||||
|
@ -87,8 +87,6 @@ void Tracker::Log_Write_Vehicle_Startup_Messages()
|
||||
void Tracker::log_init(void)
|
||||
{
|
||||
DataFlash.Init(log_structure, ARRAY_SIZE(log_structure));
|
||||
|
||||
gcs().reset_cli_timeout();
|
||||
}
|
||||
|
||||
#else // LOGGING_ENABLED
|
||||
|
@ -266,7 +266,5 @@ public:
|
||||
void mavlink_delay_cb();
|
||||
};
|
||||
|
||||
#define MENU_FUNC(func) FUNCTOR_BIND(&tracker, &Tracker::func, int8_t, uint8_t, const Menu::arg *)
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
extern Tracker tracker;
|
||||
|
Loading…
Reference in New Issue
Block a user