mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
re-remove unneeded ifdefs
Origin commit data
------------------
Commit: 61e2bebfd8
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-11 (Sat, 11 Nov 2017)
Origin message was:
------------------
- re-remove unneeded ifdefs
This commit is contained in:
@@ -72,9 +72,7 @@ int CInfoMenu::exec(CMenuTarget* parent, const std::string &actionKey) //NI
|
|||||||
{
|
{
|
||||||
char str[1024];
|
char str[1024];
|
||||||
sprintf(str, "cs_get_revision(): 0x%02X\n", cs_get_revision());
|
sprintf(str, "cs_get_revision(): 0x%02X\n", cs_get_revision());
|
||||||
#if HAVE_COOL_HARDWARE
|
|
||||||
sprintf(str, "%scs_get_chip_type(): 0x%04X\n", str, cs_get_chip_type());
|
sprintf(str, "%scs_get_chip_type(): 0x%04X\n", str, cs_get_chip_type());
|
||||||
#endif
|
|
||||||
ShowMsg(LOCALE_MESSAGEBOX_INFO, str, CMsgBox::mbrBack, CMsgBox::mbBack);
|
ShowMsg(LOCALE_MESSAGEBOX_INFO, str, CMsgBox::mbrBack, CMsgBox::mbBack);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
@@ -141,9 +141,7 @@ void CFlashUpdate::update_php(std::string &url, const char* type)
|
|||||||
if (url.find("update.php") != std::string::npos)
|
if (url.find("update.php") != std::string::npos)
|
||||||
{
|
{
|
||||||
url += "?revision=" + to_string(cs_get_revision());
|
url += "?revision=" + to_string(cs_get_revision());
|
||||||
#if HAVE_COOL_HARDWARE
|
|
||||||
url += "&chip_type=" + to_string(cs_get_chip_type());
|
url += "&chip_type=" + to_string(cs_get_chip_type());
|
||||||
#endif
|
|
||||||
url += "&image_type=" + (std::string)type;
|
url += "&image_type=" + (std::string)type;
|
||||||
printf("[update_php] url %s\n", url.c_str());
|
printf("[update_php] url %s\n", url.c_str());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user