Getting the camera pnp adapter running
This commit is contained in:
Родитель
233fdd9f91
Коммит
8cf03dd2d7
|
@ -169,7 +169,7 @@ CameraPnpInterfaceBind(
|
|||
|
||||
RETURN_HR_IF (E_UNEXPECTED, 0 != PnpAdapterInterface_Create(&interfaceParams, &adapterInterface))
|
||||
|
||||
RETURN_IF_FAILED(pIotPnp->Initialize(PnpAdapterInterface_GetPnpInterfaceClient(adapterInterface), nullptr /* cameraName.c_str() */));
|
||||
RETURN_IF_FAILED(pIotPnp->Initialize(PnpAdapterInterface_GetPnpInterfaceClient(adapterInterface), cameraName.c_str() ));
|
||||
RETURN_IF_FAILED (pIotPnp->StartTelemetryWorker());
|
||||
|
||||
RETURN_HR_IF (E_UNEXPECTED, 0 != PnpAdapterInterface_SetContext(adapterInterface, (void*)pIotPnp.get()));
|
||||
|
|
|
@ -34,6 +34,7 @@ CameraStatConsumer::CameraStatConsumer(
|
|||
, m_hFlushThread(nullptr)
|
||||
, m_fCoInit(false)
|
||||
, m_fMfStartup(false)
|
||||
, m_stats({ 0 })
|
||||
{
|
||||
ZeroMemory(m_buffer, sizeof(m_buffer));
|
||||
ZeroMemory(&m_TraceLogfile, sizeof(m_TraceLogfile));
|
||||
|
|
Загрузка…
Ссылка в новой задаче