No need to calculate file and eeprom sizes
This commit is contained in:
committed by
Raphael Coeffic
parent
23c84633da
commit
cd757ced2f
@@ -651,7 +651,7 @@ void TreeModel::refresh()
|
||||
EEPROMInterface * eepromInterface = getCurrentEEpromInterface();
|
||||
Board::Type board = eepromInterface->getBoard();
|
||||
TreeItem * defaultCategoryItem = NULL;
|
||||
bool hasEepromSizeData = (IS_FAMILY_HORUS_OR_T16(board) ? false : true);
|
||||
bool hasEepromSizeData = false; // not necessary with move to YAML storage for all boards TODO: remove unused code
|
||||
|
||||
if (hasEepromSizeData) {
|
||||
availableEEpromSize = Boards::getEEpromSize(board) - 64; // let's consider fat
|
||||
|
||||
Reference in New Issue
Block a user