SITL: exclude method declarations based on USE_PICOJSON

Fixes SimOnHardware build
This commit is contained in:
Peter Barker 2022-04-25 08:43:35 +10:00 committed by Peter Barker
parent bfd168dd4f
commit 1d96dfe7c1
1 changed files with 2 additions and 1 deletions

View File

@ -153,10 +153,11 @@ private:
// get air density in kg/m^3
float get_air_density(float alt_amsl) const;
#if USE_PICOJSON
// load frame parameters from a json model file
void load_frame_params(const char *model_json);
void parse_float(picojson::value val, const char* label, float &param);
void parse_vector3(picojson::value val, const char* label, Vector3f &param);
#endif
};
}