Skip to content

Commit

Permalink
correct if condition for serial checks
Browse files Browse the repository at this point in the history
  • Loading branch information
limpkin authored Oct 15, 2022
1 parent 829ca7c commit eac50ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ void MainWindow::updateSerialInfos() {
ui->label_UserManual->setText(MANUAL_STRING.arg(wsClient->isMPBLE() ? BLE_MANUAL_URL : MINI_MANUAL_URL));
ui->label_UserManual->show();
if (wsClient->isMPBLE() && wsClient->get_hwSerial() > STARTING_NOT_FLASHED_SERIAL &&
wsClient->get_hwSerial() != wsClient->get_platformSerial())
wsClient->get_hwSerial() == wsClient->get_platformSerial())
{
ui->widgetNotFlashedWarning->show();
}
Expand Down

0 comments on commit eac50ad

Please sign in to comment.