Revert "- remove obsolete ifdef's"

This reverts commit 8ce36eb9e1.


Origin commit data
------------------
Commit: a6814161a8
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-05-08 (Mon, 08 May 2017)
This commit is contained in:
vanhofen
2017-05-08 16:45:10 +02:00
parent e768096b64
commit 7aa4eed69b
2 changed files with 4 additions and 0 deletions

View File

@@ -141,7 +141,9 @@ 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());
#ifdef BOXMODEL_CS_HD2
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());
}