Browse Source

param include px4_config.h for FLASH_BASED_PARAMS

- fixes #8585
sbg
Daniel Agar 7 years ago committed by Lorenz Meier
parent
commit
a25ca0c37d
  1. 11
      src/modules/systemlib/param/param.c

11
src/modules/systemlib/param/param.c

@ -42,19 +42,21 @@ @@ -42,19 +42,21 @@
*/
#include "param.h"
#include "px4_parameters.h"
#include <crc32.h>
#include <float.h>
#include <math.h>
#include <drivers/drv_hrt.h>
#include <px4_config.h>
#include <px4_defines.h>
#include <px4_posix.h>
#include <px4_sem.h>
#include <px4_shutdown.h>
#include <drivers/drv_hrt.h>
#include <systemlib/bson/tinybson.h>
#include <systemlib/perf_counter.h>
#include <systemlib/uthash/utarray.h>
#include <systemlib/bson/tinybson.h>
//#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)
@ -70,9 +72,6 @@ @@ -70,9 +72,6 @@
# include "systemlib/flashparams/flashparams.h"
#endif
#include "px4_parameters.h"
#include <crc32.h>
static const char *param_default_file = PX4_ROOTFSDIR"/eeprom/parameters";
static char *param_user_file = NULL;

Loading…
Cancel
Save