MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / setPowerStateLatencies

Method setPowerStateLatencies

src/usb_control.cpp:260–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260UsbControl::ResultCode UsbControl::setPowerStateLatencies()
261{
262 int r = libusb_ext::set_sel(handle_, timeout_, 0x55, 0, 0x55, 0);
263
264 UsbControl::ResultCode code;
265 CHECK_LIBUSB_RESULT(code, r) << "failed to set power state latencies! " << WRITE_LIBUSB_ERROR(r);
266 return code;
267}
268
269UsbControl::ResultCode UsbControl::enablePowerStates()
270{

Callers

nothing calls this directly

Calls 1

set_selFunction · 0.85

Tested by

no test coverage detected