From c2bd54e3e9901996626c6c4e9f8fb2ee3ada0e3d Mon Sep 17 00:00:00 2001 From: jbleclere Date: Fri, 4 Sep 2020 19:16:50 +0000 Subject: [PATCH] Correct timeout value --- source/drm_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/drm_manager.cpp b/source/drm_manager.cpp index 03f09e47..d143135e 100644 --- a/source/drm_manager.cpp +++ b/source/drm_manager.cpp @@ -1356,7 +1356,7 @@ class DRM_LOCAL DrmManager::Impl { checkDRMCtlrRet( getDrmController().readActivationCodesTransmittedStatusRegister( activationCodesTransmitted ) ); timeSpan = TClock::now() - timeStart; - mseconds = double( timeSpan.count() ) * TClock::period::num / TClock::period::den; + mseconds = 1000.0 * double( timeSpan.count() ) * TClock::period::num / TClock::period::den; if ( activationCodesTransmitted ) { Debug( "License #{} transmitted after {} ms", mLicenseCounter, mseconds ); break;