mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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:
@@ -435,18 +435,10 @@ bool CFlashUpdate::checkVersion4Update()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
CFileBrowser UpdatesBrowser;
|
CFileBrowser UpdatesBrowser;
|
||||||
|
|
||||||
CFileFilter UpdatesFilter;
|
CFileFilter UpdatesFilter;
|
||||||
|
|
||||||
//NI
|
|
||||||
if (allow_flash)
|
if (allow_flash)
|
||||||
{
|
|
||||||
UpdatesFilter.addFilter(FILEBROWSER_UPDATE_FILTER);
|
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"};
|
std::string filters[] = {"bin", "txt", "opk", "ipk"};
|
||||||
for(size_t i=0; i<sizeof(filters)/sizeof(filters[0]) ;i++)
|
for(size_t i=0; i<sizeof(filters)/sizeof(filters[0]) ;i++)
|
||||||
|
Reference in New Issue
Block a user