diff --git a/libraries/SITL/SITL.cpp b/libraries/SITL/SITL.cpp index 7e34dc6f5e..8857e1e1ec 100644 --- a/libraries/SITL/SITL.cpp +++ b/libraries/SITL/SITL.cpp @@ -102,6 +102,7 @@ const AP_Param::GroupInfo SITL::var_info2[] = { AP_GROUPINFO("TEMP_START", 1, SITL, temp_start, 25), AP_GROUPINFO("TEMP_FLIGHT", 2, SITL, temp_flight, 35), AP_GROUPINFO("TEMP_TCONST", 3, SITL, temp_tconst, 30), + AP_GROUPINFO("TEMP_BFACTOR", 4, SITL, temp_baro_factor, 0), AP_GROUPEND }; diff --git a/libraries/SITL/SITL.h b/libraries/SITL/SITL.h index 572aa86c52..d6e7ae73f6 100644 --- a/libraries/SITL/SITL.h +++ b/libraries/SITL/SITL.h @@ -151,6 +151,7 @@ public: AP_Float temp_start; AP_Float temp_flight; AP_Float temp_tconst; + AP_Float temp_baro_factor; uint16_t irlock_port;