No need to calculate file and eeprom sizes

This commit is contained in:
elecpower
2021-12-31 10:53:10 +01:00
committed by Raphael Coeffic
parent 23c84633da
commit cd757ced2f
+1 -1
View File
@@ -651,7 +651,7 @@ void TreeModel::refresh()
EEPROMInterface * eepromInterface = getCurrentEEpromInterface(); EEPROMInterface * eepromInterface = getCurrentEEpromInterface();
Board::Type board = eepromInterface->getBoard(); Board::Type board = eepromInterface->getBoard();
TreeItem * defaultCategoryItem = NULL; 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) { if (hasEepromSizeData) {
availableEEpromSize = Boards::getEEpromSize(board) - 64; // let's consider fat availableEEpromSize = Boards::getEEpromSize(board) - 64; // let's consider fat