Skip to content

Commit

Permalink
matching call to timeEndPeriod and timeBeginPeriod
Browse files Browse the repository at this point in the history
"You must match each call to timeBeginPeriod with a call to
timeEndPeriod, specifying the same minimum resolution in both calls."
  • Loading branch information
Yves Schmid committed Jul 13, 2021
1 parent 2196702 commit c90c1ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oshw/win32/nicdrv.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ int ecx_setupnic(ecx_portt *port, const char *ifname, int secondary)
*/
int ecx_closenic(ecx_portt *port)
{
timeEndPeriod(15);
timeEndPeriod(1);

if (port->sockhandle != NULL)
{
Expand Down

0 comments on commit c90c1ab

Please sign in to comment.