fix improper detecting of usb haptic device

This commit is contained in:
Paul Dino Jones 2025-02-01 17:01:50 -05:00
parent 7a5ca94209
commit e7751b4e16
1 changed files with 0 additions and 6 deletions

View File

@ -105,11 +105,5 @@ int usbhapticdev_init(USBGenericHapticDevice* usbhapticdevice, DeviceSettings* d
slogw("Possibly unknown device"); slogw("Possibly unknown device");
} }
if(usbhapticdevice->handle == 0)
{
error = MONOCOQUE_ERROR_INVALID_DEV;
return error;
}
return error; return error;
} }