param include px4_config.h for FLASH_BASED_PARAMS

- fixes #8585
This commit is contained in:
Daniel Agar 2018-01-12 13:41:50 -05:00 committed by Lorenz Meier
parent 7b1b255158
commit a25ca0c37d
1 changed files with 6 additions and 7 deletions

View File

@ -42,19 +42,21 @@
*/ */
#include "param.h" #include "param.h"
#include "px4_parameters.h"
#include <crc32.h>
#include <float.h> #include <float.h>
#include <math.h> #include <math.h>
#include <drivers/drv_hrt.h>
#include <px4_config.h>
#include <px4_defines.h> #include <px4_defines.h>
#include <px4_posix.h> #include <px4_posix.h>
#include <px4_sem.h> #include <px4_sem.h>
#include <px4_shutdown.h> #include <px4_shutdown.h>
#include <drivers/drv_hrt.h>
#include <systemlib/perf_counter.h>
#include <systemlib/uthash/utarray.h>
#include <systemlib/bson/tinybson.h> #include <systemlib/bson/tinybson.h>
#include <systemlib/perf_counter.h>
#include <systemlib/uthash/utarray.h>
//#define PARAM_NO_ORB ///< if defined, avoid uorb dependency. This disables publication of parameter_update on param change //#define PARAM_NO_ORB ///< if defined, avoid uorb dependency. This disables publication of parameter_update on param change
//#define PARAM_NO_AUTOSAVE ///< if defined, do not autosave (avoids LP work queue dependency) //#define PARAM_NO_AUTOSAVE ///< if defined, do not autosave (avoids LP work queue dependency)
@ -70,9 +72,6 @@
# include "systemlib/flashparams/flashparams.h" # include "systemlib/flashparams/flashparams.h"
#endif #endif
#include "px4_parameters.h"
#include <crc32.h>
static const char *param_default_file = PX4_ROOTFSDIR"/eeprom/parameters"; static const char *param_default_file = PX4_ROOTFSDIR"/eeprom/parameters";
static char *param_user_file = NULL; static char *param_user_file = NULL;