Fix missing increment in for loop in mouse_m990::write_settings()

This commit is contained in:
dokutan 2021-04-11 22:50:15 +02:00
parent 5bf885dca6
commit f5e42e764f

View file

@ -120,7 +120,7 @@ int mouse_m990::write_settings(){
libusb_control_transfer( _i_handle, 0xa1, 0x01, 0x0303, 0x0002, NULL, 0, 1000 ); libusb_control_transfer( _i_handle, 0xa1, 0x01, 0x0303, 0x0002, NULL, 0, 1000 );
for( int i = 0; i < 5; ){ for( int i = 0; i < 5; i++ ){
libusb_control_transfer( _i_handle, 0x21, 0x09, 0x0304, 0x0002, buffer2[pos2], 256, 1000 ); libusb_control_transfer( _i_handle, 0x21, 0x09, 0x0304, 0x0002, buffer2[pos2], 256, 1000 );
pos2++; pos2++;