Skip to content

Commit

Permalink
Fixed: If SPI NOR FLASH is not installed and the Detect button is pre…
Browse files Browse the repository at this point in the history
…ssed, the state of the programmer is not detected
  • Loading branch information
bigbigmdm committed Mar 14, 2024
1 parent 674070c commit 27503e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IMSProg_programmer/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ void MainWindow::on_pushButton_2_clicked()
QMessageBox::about(this, tr("Error"), tr("The chip is not connect or missing!"));
ui->pushButton_2->setStyleSheet(grnKeyStyle);
ch341a_spi_shutdown();
timer->start();
return;
}
ui->jedecEdit->setText(bytePrint(bufid[0]) + " " + bytePrint(bufid[1]) + " " + bytePrint(bufid[2]));
Expand Down

0 comments on commit 27503e9

Please sign in to comment.