AP_VideoTX: Add configuration_finished functions

This commit is contained in:
giacomo892 2021-05-27 17:48:04 +02:00 committed by Andrew Tridgell
parent 4dac9baa09
commit 0af5a7787a

View File

@ -112,6 +112,9 @@ public:
// display the current VTX settings in the GCS // display the current VTX settings in the GCS
void announce_vtx_settings() const; 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; static AP_VideoTX *singleton;
private: private:
@ -142,6 +145,8 @@ private:
bool _initialized; bool _initialized;
// when defaults have been configured // when defaults have been configured
bool _defaults_set; bool _defaults_set;
// true when configuration have been applied succesfully to the VTX
bool _configuration_finished;
}; };
namespace AP { namespace AP {