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

Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-01-01 21:50:50 +01:00
parent 648ab3d6bd
commit 1661c09a84
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;