Skip to content

Commit d5a04ee

Browse files
committed
Fixed firmware update
1 parent a40048a commit d5a04ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

qt/programmer.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,8 @@ void Programmer::getActiveImageCb(int ret)
472472

473473
qInfo() << "Active firmware image: " << activeImage;
474474

475-
firmwareUpdateStart();
475+
// Wait reader stop
476+
QTimer::singleShot(50, this, &Programmer::firmwareUpdateStart);
476477
return;
477478

478479
Error:

0 commit comments

Comments
 (0)