Do not prompt on M115 if FW version check has been disabled
As done for M862.4, do now show an upgrade prompt if FW version check as been disabled in the Settings -> HW Setup -> Checks menu.
This commit is contained in:
parent
3ebd8b88a4
commit
ee12cbd58e
@ -187,6 +187,9 @@ bool force_selftest_if_fw_version()
|
||||
|
||||
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);
|
||||
if (upgrade < 0)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user