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
1 changed files with 2 additions and 4 deletions

View File

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