From 5038e1d26d0c785b6f2bbfdff5063b92cc433129 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 30 Apr 2015 11:05:17 +1000 Subject: [PATCH] Plane: remove deprecated log types we no longer depend on the binary format for Replay, so we can change IDs now --- ArduPlane/defines.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/ArduPlane/defines.h b/ArduPlane/defines.h index d5e0ca89d8..b6270c838e 100644 --- a/ArduPlane/defines.h +++ b/ArduPlane/defines.h @@ -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