upeksonly: Pass required user data to write_regs_cb
The user data for write_regs_cb needs to be set to wrdata. This was simply missing, add the appropriate argument.
This commit is contained in:
parent
b4dbbd667a
commit
3f51e6dcb6
1 changed files with 1 additions and 1 deletions
|
@ -627,7 +627,7 @@ write_regs_iterate (struct write_regs_data *wrdata)
|
|||
1);
|
||||
transfer->short_is_error = TRUE;
|
||||
transfer->ssm = wrdata->ssm;
|
||||
fpi_usb_transfer_submit (transfer, CTRL_TIMEOUT, NULL, write_regs_cb, NULL);
|
||||
fpi_usb_transfer_submit (transfer, CTRL_TIMEOUT, NULL, write_regs_cb, wrdata);
|
||||
|
||||
transfer->buffer[0] = regwrite->value;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue