Skip to content

Commit 6abbc19

Browse files
committed
Fixed read size
1 parent 37994b8 commit 6abbc19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qt/main_window.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ void MainWindow::slotProgReadCompleted(int status)
269269
{
270270
int index = ui->chipSelectComboBox->currentIndex();
271271
ChipInfo *chipInfo = chipDb.chipInfoGetById(CHIP_INDEX2ID(index));
272-
uint32_t readSize = chipInfo->params[CHIP_PARAM_BLOCK_SIZE];
272+
uint32_t readSize = chipInfo->params[CHIP_PARAM_SIZE];
273273

274274
disconnect(prog, SIGNAL(readChipCompleted(int)), this,
275275
SLOT(slotProgReadCompleted(int)));

0 commit comments

Comments
 (0)