We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b51fd24 commit 4f685d8Copy full SHA for 4f685d8
1 file changed
logic/scan.c
@@ -77,7 +77,7 @@ corsairlink_check_device_id( struct corsair_device_info* cl_device )
77
int rr;
78
79
/* get device_id if we have a proper device handle */
80
- uint8_t device_id = 0x00;
+ uint16_t device_id = 0x00;
81
cl_device->driver->device_id( cl_device, scanlist[scanlist_count].handle, &device_id );
82
83
/* check to see if the device_id is the right one */
@@ -225,8 +225,6 @@ corsairlink_device_scanner( libusb_context* context, int* _scanlist_count )
225
int ii; // Loops through USB devices.
226
ssize_t cnt;
227
libusb_device** devices;
228
- // uint16_t device_id = 0x00;
229
- // uint16_t firmware_id = 0x0000;
230
231
cnt = libusb_get_device_list( context, &devices );
232
for ( ii = 0; ii < cnt; ii++ )
0 commit comments