From 9d89c418f6b4c82ebd87db5f2c162a75a988519c Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 6 Jan 2018 00:06:40 +0100 Subject: [PATCH] update: remove obsolete code for flashing tank images (256k) Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/f0292e150b1f7ddecd8eedf1c883127e91c04aae Author: vanhofen Date: 2018-01-06 (Sat, 06 Jan 2018) Origin message was: ------------------ - update: remove obsolete code for flashing tank images (256k) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/update.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/gui/update.cpp b/src/gui/update.cpp index eae281852..434400574 100644 --- a/src/gui/update.cpp +++ b/src/gui/update.cpp @@ -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