commander move telemetry checks to new preflightcheck helper

This commit is contained in:
Daniel Agar
2018-04-12 01:09:56 -04:00
parent 64fb4b43b6
commit 7bc3a12efe
2 changed files with 246 additions and 163 deletions
+2 -2
View File
@@ -121,13 +121,13 @@ private:
* Update the telemetry status and the corresponding status variables.
* Perform system checks when new telemetry link connected.
*/
void poll_telemetry_status(bool checkAirspeed, bool *hotplug_timeout);
void poll_telemetry_status();
/**
* Checks the status of all available data links and handles switching between different system telemetry states.
*/
void data_link_checks(int32_t highlatencydatalink_loss_timeout, int32_t highlatencydatalink_regain_timeout,
int32_t datalink_loss_timeout, int32_t datalink_regain_timeout, bool *status_changed);
int32_t datalink_loss_timeout, int32_t datalink_regain_timeout, bool *status_changed);
// telemetry variables
struct telemetry_data {
File diff suppressed because it is too large Load Diff