Skip to content

Commit

Permalink
Removed redundant SPI chip param on write to DB
Browse files Browse the repository at this point in the history
  • Loading branch information
bbogush committed Dec 21, 2020
1 parent 2639cb2 commit 8a881bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qt/spi_chip_db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ int SpiChipDb::chipInfoToString(ChipInfo *chipInfo, QString &s)
paramsList.append(csvValue);
getStringFromParam(ci->getTotalSize(), csvValue);
paramsList.append(csvValue);
getStringFromParam(ci->getSpareSize(), csvValue);
paramsList.append(csvValue);

for (int i = CHIP_PARAM_PAGE_OFF; i < CHIP_PARAM_NUM; i++)
{
if (getStringFromOptParam(ci->getParam(i - CHIP_PARAM_PAGE_OFF),
Expand Down

0 comments on commit 8a881bd

Please sign in to comment.