Skip to content

Commit 8a881bd

Browse files
committed
Removed redundant SPI chip param on write to DB
1 parent 2639cb2 commit 8a881bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

qt/spi_chip_db.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ int SpiChipDb::chipInfoToString(ChipInfo *chipInfo, QString &s)
9494
paramsList.append(csvValue);
9595
getStringFromParam(ci->getTotalSize(), csvValue);
9696
paramsList.append(csvValue);
97-
getStringFromParam(ci->getSpareSize(), csvValue);
98-
paramsList.append(csvValue);
97+
9998
for (int i = CHIP_PARAM_PAGE_OFF; i < CHIP_PARAM_NUM; i++)
10099
{
101100
if (getStringFromOptParam(ci->getParam(i - CHIP_PARAM_PAGE_OFF),

0 commit comments

Comments
 (0)