diff --git a/VistaCoreLibs/VistaKernel/VistaSystem.cpp b/VistaCoreLibs/VistaKernel/VistaSystem.cpp index ef7685e02dc7c94d1293c43824c4b9e52929eed6..b0f80035b30dc81ee0a14f5f7e99bc8002d92e80 100644 --- a/VistaCoreLibs/VistaKernel/VistaSystem.cpp +++ b/VistaCoreLibs/VistaKernel/VistaSystem.cpp @@ -2540,7 +2540,7 @@ void VistaSystem::CreateDeviceDrivers() if(pSensorMapping) { // create a proper mapping - pSensorMapping->SetSensorId(0, nSensorId, nDriverSensorId); + pSensorMapping->SetSensorId(nType, nSensorId, nDriverSensorId); }