Copter: remove unused MODE bit from LOG_BITMASK

We always log the mode so no need for this bit
This commit is contained in:
Randy Mackay 2013-05-17 12:26:42 +09:00
parent 5b00ce24ed
commit 566daf883a
2 changed files with 2 additions and 5 deletions

View File

@ -724,6 +724,7 @@
// Attitude Control
//
// Acro mode gains
#ifndef ACRO_P
# define ACRO_P 4.5f
#endif
@ -979,9 +980,6 @@
#ifndef LOG_NTUN
# define LOG_NTUN ENABLED
#endif
#ifndef LOG_MODE
# define LOG_MODE ENABLED
#endif
#ifndef LOG_IMU
# define LOG_IMU DISABLED
#endif
@ -1023,7 +1021,6 @@
LOGBIT(PM) | \
LOGBIT(CTUN) | \
LOGBIT(NTUN) | \
LOGBIT(MODE) | \
LOGBIT(IMU) | \
LOGBIT(CMD) | \
LOGBIT(CURRENT) | \

View File

@ -291,7 +291,7 @@ enum ap_message {
#define MASK_LOG_PM (1<<3)
#define MASK_LOG_CTUN (1<<4)
#define MASK_LOG_NTUN (1<<5)
#define MASK_LOG_MODE (1<<6)
#define MASK_LOG_MODE (1<<6) // not used
#define MASK_LOG_IMU (1<<7)
#define MASK_LOG_CMD (1<<8)
#define MASK_LOG_CURRENT (1<<9)