matching call to timeEndPeriod and timeBeginPeriod

"You must match each call to timeBeginPeriod with a call to
timeEndPeriod, specifying the same minimum resolution in both calls."
This commit is contained in:
Yves Schmid 2021-07-13 09:13:03 +02:00
parent 219670218b
commit c90c1abd1f
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ int ecx_setupnic(ecx_portt *port, const char *ifname, int secondary)
*/ */
int ecx_closenic(ecx_portt *port) int ecx_closenic(ecx_portt *port)
{ {
timeEndPeriod(15); timeEndPeriod(1);
if (port->sockhandle != NULL) if (port->sockhandle != NULL)
{ {