mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
Copter: remove unused MODE bit from LOG_BITMASK
We always log the mode so no need for this bit
This commit is contained in:
parent
5b00ce24ed
commit
566daf883a
@ -724,6 +724,7 @@
|
|||||||
// Attitude Control
|
// Attitude Control
|
||||||
//
|
//
|
||||||
|
|
||||||
|
// Acro mode gains
|
||||||
#ifndef ACRO_P
|
#ifndef ACRO_P
|
||||||
# define ACRO_P 4.5f
|
# define ACRO_P 4.5f
|
||||||
#endif
|
#endif
|
||||||
@ -979,9 +980,6 @@
|
|||||||
#ifndef LOG_NTUN
|
#ifndef LOG_NTUN
|
||||||
# define LOG_NTUN ENABLED
|
# define LOG_NTUN ENABLED
|
||||||
#endif
|
#endif
|
||||||
#ifndef LOG_MODE
|
|
||||||
# define LOG_MODE ENABLED
|
|
||||||
#endif
|
|
||||||
#ifndef LOG_IMU
|
#ifndef LOG_IMU
|
||||||
# define LOG_IMU DISABLED
|
# define LOG_IMU DISABLED
|
||||||
#endif
|
#endif
|
||||||
@ -1023,7 +1021,6 @@
|
|||||||
LOGBIT(PM) | \
|
LOGBIT(PM) | \
|
||||||
LOGBIT(CTUN) | \
|
LOGBIT(CTUN) | \
|
||||||
LOGBIT(NTUN) | \
|
LOGBIT(NTUN) | \
|
||||||
LOGBIT(MODE) | \
|
|
||||||
LOGBIT(IMU) | \
|
LOGBIT(IMU) | \
|
||||||
LOGBIT(CMD) | \
|
LOGBIT(CMD) | \
|
||||||
LOGBIT(CURRENT) | \
|
LOGBIT(CURRENT) | \
|
||||||
|
@ -291,7 +291,7 @@ enum ap_message {
|
|||||||
#define MASK_LOG_PM (1<<3)
|
#define MASK_LOG_PM (1<<3)
|
||||||
#define MASK_LOG_CTUN (1<<4)
|
#define MASK_LOG_CTUN (1<<4)
|
||||||
#define MASK_LOG_NTUN (1<<5)
|
#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_IMU (1<<7)
|
||||||
#define MASK_LOG_CMD (1<<8)
|
#define MASK_LOG_CMD (1<<8)
|
||||||
#define MASK_LOG_CURRENT (1<<9)
|
#define MASK_LOG_CURRENT (1<<9)
|
||||||
|
Loading…
Reference in New Issue
Block a user