Skip to content

Commit

Permalink
Omnirig drivers: Used multiplatform sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
foldynl committed Jan 4, 2025
1 parent f378b17 commit 8f34d6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rig/drivers/OmnirigRigDrv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ void OmnirigRigDrv::__rigTypeChange(int rigID)

void OmnirigRigDrv::commandSleep()
{
Sleep(100);
QThread::msleep(200);
}

const QString OmnirigRigDrv::getModeNormalizedText(const QString &rawMode, QString &submode)
Expand Down
2 changes: 1 addition & 1 deletion rig/drivers/Omnirigv2RigDrv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ OmniRigV2::IRigX *OmnirigV2RigDrv::getRigPtr()

void OmnirigV2RigDrv::commandSleep()
{
Sleep(100);
QThread::msleep(100);
}

const QString OmnirigV2RigDrv::getModeNormalizedText(const QString &rawMode, QString &submode)
Expand Down

0 comments on commit 8f34d6d

Please sign in to comment.