Commit c0d503f3 authored by DoinLakeFlyer's avatar DoinLakeFlyer

parent ae09ca36
...@@ -1343,7 +1343,8 @@ void Vehicle::_handleAutopilotVersion(LinkInterface *link, mavlink_message_t& me ...@@ -1343,7 +1343,8 @@ void Vehicle::_handleAutopilotVersion(LinkInterface *link, mavlink_message_t& me
nullStr[8] = 0; nullStr[8] = 0;
_gitHash = nullStr; _gitHash = nullStr;
} }
if (_toolbox->corePlugin()->options()->checkFirmwareVersion()) { if (_toolbox->corePlugin()->options()->checkFirmwareVersion() && !_checkLatestStableFWDone) {
_checkLatestStableFWDone = true;
_firmwarePlugin->checkIfIsLatestStable(this); _firmwarePlugin->checkIfIsLatestStable(this);
} }
emit gitHashChanged(_gitHash); emit gitHashChanged(_gitHash);
......
...@@ -1504,6 +1504,7 @@ private: ...@@ -1504,6 +1504,7 @@ private:
bool _isROIEnabled = false; bool _isROIEnabled = false;
Joystick* _activeJoystick = nullptr; Joystick* _activeJoystick = nullptr;
bool _checkLatestStableFWDone = false;
int _firmwareMajorVersion; int _firmwareMajorVersion;
int _firmwareMinorVersion; int _firmwareMinorVersion;
int _firmwarePatchVersion; int _firmwarePatchVersion;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment