mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-10 18:03:56 -04:00
Sub: remove dead do_erase_logs method
This commit is contained in:
parent
6b2ad734b6
commit
793ff201b4
@ -5,13 +5,6 @@
|
|||||||
// Code to Write and Read packets from DataFlash log memory
|
// Code to Write and Read packets from DataFlash log memory
|
||||||
// Code to interact with the user to dump or erase logs
|
// Code to interact with the user to dump or erase logs
|
||||||
|
|
||||||
void Sub::do_erase_logs()
|
|
||||||
{
|
|
||||||
gcs().send_text(MAV_SEVERITY_INFO, "Erasing logs");
|
|
||||||
DataFlash.EraseAll();
|
|
||||||
gcs().send_text(MAV_SEVERITY_INFO, "Log erase complete");
|
|
||||||
}
|
|
||||||
|
|
||||||
struct PACKED log_Optflow {
|
struct PACKED log_Optflow {
|
||||||
LOG_PACKET_HEADER;
|
LOG_PACKET_HEADER;
|
||||||
uint64_t time_us;
|
uint64_t time_us;
|
||||||
@ -364,7 +357,6 @@ void Sub::log_init()
|
|||||||
|
|
||||||
#else // LOGGING_ENABLED
|
#else // LOGGING_ENABLED
|
||||||
|
|
||||||
void Sub::do_erase_logs(void) {}
|
|
||||||
void Sub::Log_Write_Control_Tuning() {}
|
void Sub::Log_Write_Control_Tuning() {}
|
||||||
void Sub::Log_Write_Performance() {}
|
void Sub::Log_Write_Performance() {}
|
||||||
void Sub::Log_Write_Attitude(void) {}
|
void Sub::Log_Write_Attitude(void) {}
|
||||||
|
@ -485,7 +485,6 @@ private:
|
|||||||
void send_pid_tuning(mavlink_channel_t chan);
|
void send_pid_tuning(mavlink_channel_t chan);
|
||||||
void gcs_data_stream_send(void);
|
void gcs_data_stream_send(void);
|
||||||
void gcs_update(void);
|
void gcs_update(void);
|
||||||
void do_erase_logs(void);
|
|
||||||
void Log_Write_Optflow();
|
void Log_Write_Optflow();
|
||||||
void Log_Write_Control_Tuning();
|
void Log_Write_Control_Tuning();
|
||||||
void Log_Write_Performance();
|
void Log_Write_Performance();
|
||||||
|
Loading…
Reference in New Issue
Block a user