Change order of parameters of provision().

This commit is contained in:
Michael Dietz
2016-02-26 15:35:27 +01:00
parent 423fbf07a2
commit 3829145e51
3 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ dfu.findDevice({ services: [0x180D] })
log("file length: " + buffer.byteLength);
var crc = crc16(buffer);
return dfu.provision(device, buffer, 4, crc);
return dfu.provision(device, buffer, crc);
})
.then(() => process.exit())
.catch(error => {