update: remove obsolete code for flashing tank images (256k)

Origin commit data
------------------
Commit: f0292e150b
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-06 (Sat, 06 Jan 2018)

Origin message was:
------------------
- update: remove obsolete code for flashing tank images (256k)
This commit is contained in:
vanhofen
2018-01-06 00:06:40 +01:00
parent 4cd66cb62a
commit 59e9d43480

View File

@@ -435,18 +435,10 @@ bool CFlashUpdate::checkVersion4Update()
else
{
CFileBrowser UpdatesBrowser;
CFileFilter UpdatesFilter;
//NI
if (allow_flash)
{
UpdatesFilter.addFilter(FILEBROWSER_UPDATE_FILTER);
#ifdef BOXMODEL_CS_HD2
if (CMTDInfo::getInstance()->getMTDEraseSize(sysfs) == 0x40000 /* Tank */)
UpdatesFilter.addFilter("256k");
#endif
}
std::string filters[] = {"bin", "txt", "opk", "ipk"};
for(size_t i=0; i<sizeof(filters)/sizeof(filters[0]) ;i++)