Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeuz committed Aug 2, 2023
1 parent 1ff6f0b commit 7734793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dfu.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class Dfu {
}
const ifaceName = await this._getStringDescriptor(iface.iInterface);
const memInfo = this._parseMemoryDescriptor(ifaceName);
await this._dev.setAltInterface(setting);
await this._dev.setAltSetting(this._interface, setting);
if (iface.dfuFunctional && iface.dfuFunctional.wTransferSize) {
this._transferSize = iface.dfuFunctional.wTransferSize;
} else {
Expand Down

0 comments on commit 7734793

Please sign in to comment.