* Fix initialisation of CamDevice::fIsoIn.
* Fix debug message on IsoIn path. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29280 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -35,6 +35,8 @@ struct { const char *name; SensorInstFunc instfunc; } kSensorTable[] = {
|
|||||||
CamDevice::CamDevice(CamDeviceAddon &_addon, BUSBDevice* _device)
|
CamDevice::CamDevice(CamDeviceAddon &_addon, BUSBDevice* _device)
|
||||||
: fInitStatus(B_NO_INIT),
|
: fInitStatus(B_NO_INIT),
|
||||||
fSensor(NULL),
|
fSensor(NULL),
|
||||||
|
fBulkIn(NULL),
|
||||||
|
fIsoIn(NULL),
|
||||||
fLastParameterChanges(0),
|
fLastParameterChanges(0),
|
||||||
fCamDeviceAddon(_addon),
|
fCamDeviceAddon(_addon),
|
||||||
fDevice(_device),
|
fDevice(_device),
|
||||||
@@ -104,6 +106,7 @@ CamDevice::Unplugged()
|
|||||||
{
|
{
|
||||||
fDevice = NULL;
|
fDevice = NULL;
|
||||||
fBulkIn = NULL;
|
fBulkIn = NULL;
|
||||||
|
fIsoIn = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -539,7 +542,7 @@ CamDevice::DataPumpThread()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (len <= 0) {
|
if (len <= 0) {
|
||||||
PRINT((CH ": BulkIn: %s" CT, strerror(len)));
|
PRINT((CH ": IsoIn: %s" CT, strerror(len)));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user