Plane: renamed RAW dataflash message to IMU

This commit is contained in:
Randy Mackay 2013-01-26 17:29:29 +09:00
parent ce370bab0c
commit 7297a1ff83
4 changed files with 7 additions and 7 deletions

View File

@ -760,7 +760,7 @@ static void fast_loop()
if (g.log_bitmask & MASK_LOG_ATTITUDE_FAST)
Log_Write_Attitude();
if (g.log_bitmask & MASK_LOG_RAW)
if (g.log_bitmask & MASK_LOG_IMU)
Log_Write_IMU();
// inertial navigation

View File

@ -52,7 +52,7 @@ print_log_menu(void)
PLOG(CTUN);
PLOG(NTUN);
PLOG(MODE);
PLOG(RAW);
PLOG(IMU);
PLOG(CMD);
PLOG(CURRENT);
#undef PLOG
@ -168,7 +168,7 @@ select_logs(uint8_t argc, const Menu::arg *argv)
TARG(CTUN);
TARG(NTUN);
TARG(MODE);
TARG(RAW);
TARG(IMU);
TARG(CMD);
TARG(CURRENT);
#undef TARG

View File

@ -733,8 +733,8 @@
#ifndef LOG_MODE
# define LOG_MODE ENABLED
#endif
#ifndef LOG_RAW
# define LOG_RAW DISABLED
#ifndef LOG_IMU
# define LOG_IMU DISABLED
#endif
#ifndef LOG_CMD
# define LOG_CMD ENABLED
@ -754,7 +754,7 @@
LOGBIT(CTUN) | \
LOGBIT(NTUN) | \
LOGBIT(MODE) | \
LOGBIT(RAW) | \
LOGBIT(IMU) | \
LOGBIT(CMD) | \
LOGBIT(CURRENT)

View File

@ -161,7 +161,7 @@ enum log_messages {
#define MASK_LOG_CTUN (1<<4)
#define MASK_LOG_NTUN (1<<5)
#define MASK_LOG_MODE (1<<6)
#define MASK_LOG_RAW (1<<7)
#define MASK_LOG_IMU (1<<7)
#define MASK_LOG_CMD (1<<8)
#define MASK_LOG_CURRENT (1<<9)