Merge pull request #3565 from wavexx/m115_respect_settings
Do not prompt on M115 if FW version check has been disabled
This commit is contained in:
commit
c7762386df
1 changed files with 3 additions and 0 deletions
|
@ -187,6 +187,9 @@ bool force_selftest_if_fw_version()
|
||||||
|
|
||||||
bool show_upgrade_dialog_if_version_newer(const char *version_string)
|
bool show_upgrade_dialog_if_version_newer(const char *version_string)
|
||||||
{
|
{
|
||||||
|
if(oCheckVersion == ClCheckVersion::_None)
|
||||||
|
return false;
|
||||||
|
|
||||||
int8_t upgrade = is_provided_version_newer(version_string);
|
int8_t upgrade = is_provided_version_newer(version_string);
|
||||||
if (upgrade < 0)
|
if (upgrade < 0)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue