Skip to content

Commit

Permalink
Minor change in the order of functions
Browse files Browse the repository at this point in the history
Now Sync_Position() comes before FfbStartThread()
  • Loading branch information
shauleiz committed Nov 22, 2016
1 parent 0259792 commit 5d25ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/common/vJoyInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -502,9 +502,9 @@ namespace vJoyNS {
{
Set_stat(rID, VJD_STAT_OWN);
Set_hNotify(rID, RegisterHandleNotification(hWnd, hTmp));
Sync_Position(rID);
if (IsDeviceFfb(rID))
FfbStartThread(hTmp);
Sync_Position(rID);
return TRUE;
}
else
Expand Down

0 comments on commit 5d25ffd

Please sign in to comment.