configure: change release cycle handling; we don't need two defines for release cycle

Origin commit data
------------------
Commit: 729b17dd1e
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-01-01 (Tue, 01 Jan 2019)

Origin message was:
------------------
- configure: change release cycle handling; we don't need two defines for release cycle
This commit is contained in:
vanhofen
2019-01-01 21:50:50 +01:00
parent a727d70aef
commit dea5933bd9
3 changed files with 4 additions and 6 deletions

View File

@@ -418,7 +418,7 @@ bool CFlashUpdate::checkVersion4Update()
if (gotImage)
{
if ((strncmp(RELEASE_CYCLE, versionInfo->getReleaseCycle(), 2) != 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;