diff --git a/Tools/Replay/LogReader.cpp b/Tools/Replay/LogReader.cpp index 881aab1b4a..d3256af64e 100644 --- a/Tools/Replay/LogReader.cpp +++ b/Tools/Replay/LogReader.cpp @@ -29,19 +29,6 @@ LogReader::LogReader(struct LogStructure *log_structure, NavEKF2 &_ekf2, NavEKF3 ekf3(_ekf3) { } -// these names we emit from the code as normal, but are emitted using -// Log_Write. Thus they are not present in LOG_COMMON_STRUCTURES. A -// format will be written for this by the code itself the first time -// the message is emitted to the log. However, we must not write the -// messages from the old log to the new log, so we need to keep a map -// of IDs to prune out... -static const char *log_write_names[] = { - nullptr -}; - -static const char *generated_names[] = { - NULL -}; /* see if a type is in a list of types @@ -59,50 +46,6 @@ bool LogReader::in_list(const char *type, const char *list[]) return false; } -/* - map from an incoming format type to an outgoing format type - */ -uint8_t LogReader::map_fmt_type(const char *name, uint8_t intype) -{ - if (intype == 128) { - // everybody's favourite FMT message... - return 128; - } - if (mapped_msgid[intype] != 0) { - // already mapped - return mapped_msgid[intype]; - } - for (uint8_t n=next_msgid; n<255; n++) { - bool already_mapped = false; - for (uint16_t i=0; i