diff --git a/libraries/AP_VideoTX/AP_VideoTX.h b/libraries/AP_VideoTX/AP_VideoTX.h index dc5c9ad006..5ba45d008c 100644 --- a/libraries/AP_VideoTX/AP_VideoTX.h +++ b/libraries/AP_VideoTX/AP_VideoTX.h @@ -112,6 +112,9 @@ public: // display the current VTX settings in the GCS void announce_vtx_settings() const; + void set_configuration_finished(bool configuration_finished) { _configuration_finished = configuration_finished; } + bool is_configuration_finished() { return _configuration_finished; } + static AP_VideoTX *singleton; private: @@ -142,8 +145,10 @@ private: bool _initialized; // when defaults have been configured bool _defaults_set; + // true when configuration have been applied succesfully to the VTX + bool _configuration_finished; }; namespace AP { AP_VideoTX& vtx(); -}; \ No newline at end of file +};