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
1 changed files with 6 additions and 1 deletions

View File

@ -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();
};
};