Plane: remove deprecated log types

we no longer depend on the binary format for Replay, so we can change
IDs now
This commit is contained in:
Andrew Tridgell 2015-04-30 11:05:17 +10:00
parent f5dfe7c650
commit 5038e1d26d

View File

@ -99,29 +99,18 @@ typedef enum GeofenceEnableReason {
#define STOP_REPEAT 10
// Logging message types. NOTE: If you change the value of one
// of these then existing logs will break! Only add at the end, and
// mark unused ones as 'deprecated', but leave them in
// Logging message types
enum log_messages {
LOG_CTUN_MSG,
LOG_NTUN_MSG,
LOG_PERFORMANCE_MSG,
LOG_CMD_MSG_DEPRECATED, // deprecated
LOG_CURRENT_MSG_DEPRECATED,
LOG_STARTUP_MSG,
TYPE_AIRSTART_MSG,
TYPE_GROUNDSTART_MSG,
LOG_CAMERA_MSG_DEPRECATED,
LOG_ATTITUDE_MSG_DEPRECATED,
LOG_MODE_MSG_DEPRECATED,
LOG_COMPASS_MSG_DEPRECATED,
LOG_TECS_MSG,
LOG_RC_MSG,
LOG_SONAR_MSG,
LOG_COMPASS2_MSG_DEPRECATED,
LOG_ARM_DISARM_MSG,
LOG_AIRSPEED_MSG_DEPRECATED, // deprecated
LOG_COMPASS3_MSG_DEPRECATED,
LOG_STATUS_MSG
#if OPTFLOW == ENABLED
,LOG_OPTFLOW_MSG