Plane: defines.h should not use defines from config.h

config.h includes defines.h early, so defines in config.h are unavailable
This commit is contained in:
Peter Barker 2016-01-21 11:39:09 +11:00 committed by Lucas De Marchi
parent 44c63b8873
commit ca4017d093

View File

@ -116,10 +116,8 @@ enum log_messages {
LOG_RC_MSG, LOG_RC_MSG,
LOG_SONAR_MSG, LOG_SONAR_MSG,
LOG_ARM_DISARM_MSG, LOG_ARM_DISARM_MSG,
LOG_STATUS_MSG LOG_STATUS_MSG,
#if OPTFLOW == ENABLED LOG_OPTFLOW_MSG
,LOG_OPTFLOW_MSG
#endif
}; };
#define MASK_LOG_ATTITUDE_FAST (1<<0) #define MASK_LOG_ATTITUDE_FAST (1<<0)