update: disable release cycle check

Origin commit data
------------------
Commit: 37f85c6394
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-02-23 (Tue, 23 Feb 2021)

Origin message was:
------------------
- update: disable release cycle check
This commit is contained in:
vanhofen
2021-02-23 23:09:13 +01:00
parent 2c79eca0f8
commit 737c1fdba4

View File

@@ -431,12 +431,14 @@ bool CFlashUpdate::checkVersion4Update()
if (gotImage)
{
#if 0
if ((strncmp(PACKAGE_RELEASE_CYCLE, versionInfo->getReleaseCycle(), 2) != 0) &&
(ShowMsg(LOCALE_MESSAGEBOX_INFO, LOCALE_FLASHUPDATE_WRONGBASE, CMsgBox::mbrYes, CMsgBox::mbYes | CMsgBox::mbNo, NEUTRINO_ICON_UPDATE) != CMsgBox::mbrYes))
{
delete versionInfo;
return false;
}
#endif
if ((fileType != '0' /*Release*/) &&
(ShowMsg(LOCALE_MESSAGEBOX_INFO, LOCALE_FLASHUPDATE_EXPERIMENTALIMAGE, CMsgBox::mbrYes, CMsgBox::mbYes | CMsgBox::mbNo, NEUTRINO_ICON_UPDATE) != CMsgBox::mbrYes))