| 258 | } |
| 259 | |
| 260 | UsbControl::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 | |
| 269 | UsbControl::ResultCode UsbControl::enablePowerStates() |
| 270 | { |