diff --git a/src/gui/info_menue.cpp b/src/gui/info_menue.cpp index 2e204b8ee..b7b9095d6 100644 --- a/src/gui/info_menue.cpp +++ b/src/gui/info_menue.cpp @@ -72,9 +72,7 @@ int CInfoMenu::exec(CMenuTarget* parent, const std::string &actionKey) //NI { char str[1024]; 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()); -#endif ShowMsg(LOCALE_MESSAGEBOX_INFO, str, CMsgBox::mbrBack, CMsgBox::mbBack); return res; } diff --git a/src/gui/update.cpp b/src/gui/update.cpp index 8e2846f6d..f80ffc918 100644 --- a/src/gui/update.cpp +++ b/src/gui/update.cpp @@ -141,9 +141,7 @@ void CFlashUpdate::update_php(std::string &url, const char* type) if (url.find("update.php") != std::string::npos) { url += "?revision=" + to_string(cs_get_revision()); -#if HAVE_COOL_HARDWARE url += "&chip_type=" + to_string(cs_get_chip_type()); -#endif url += "&image_type=" + (std::string)type; printf("[update_php] url %s\n", url.c_str()); }