Skip to content

Commit

Permalink
Wait longer for module reboot.
Browse files Browse the repository at this point in the history
  • Loading branch information
horacekj committed Jul 1, 2021
1 parent b37e7d9 commit 770f8b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ void MtbModule::reboot(std::function<void()> onOk, std::function<void()> onError
Mtb::CmdMtbModuleReboot(
this->address,
{[this](uint8_t, void*) {
QTimer::singleShot(500, [this](){
QTimer::singleShot(1000, [this](){
if (this->rebooting.activatedByMtbUsb)
return;
mtbusb.send(
Expand Down

0 comments on commit 770f8b6

Please sign in to comment.