oh and dont spam debug
This commit is contained in:
@@ -34,7 +34,7 @@ static void aio_usb_release(libusb_device_handle *dev) {
|
||||
}
|
||||
|
||||
static int aio_post(libusb_device_handle *dev, const int req_len, const int resp_len) {
|
||||
applog(LOG_DBG, "writing to aio reg 0x%02x", req[0]);
|
||||
// applog(LOG_DBG, "writing to aio reg 0x%02x", req[0]);
|
||||
int ret = 0;
|
||||
ret += libusb_bulk_transfer(dev, 0x01, req, req_len, nullptr, usb_timeout);
|
||||
ret += libusb_bulk_transfer(dev, 0x81, resp, resp_len, nullptr, usb_timeout);
|
||||
|
||||
Reference in New Issue
Block a user