Browse Source

Copter: remove unused MODE bit from LOG_BITMASK

We always log the mode so no need for this bit
mission-4.1.18
Randy Mackay 12 years ago
parent
commit
566daf883a
  1. 5
      ArduCopter/config.h
  2. 2
      ArduCopter/defines.h

5
ArduCopter/config.h

@ -724,6 +724,7 @@ @@ -724,6 +724,7 @@
// Attitude Control
//
// Acro mode gains
#ifndef ACRO_P
# define ACRO_P 4.5f
#endif
@ -979,9 +980,6 @@ @@ -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 @@ @@ -1023,7 +1021,6 @@
LOGBIT(PM) | \
LOGBIT(CTUN) | \
LOGBIT(NTUN) | \
LOGBIT(MODE) | \
LOGBIT(IMU) | \
LOGBIT(CMD) | \
LOGBIT(CURRENT) | \

2
ArduCopter/defines.h

@ -291,7 +291,7 @@ enum ap_message { @@ -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)

Loading…
Cancel
Save