Rename launchEepromTransfer to launchEepromTransferLegacy.

This commit is contained in:
László Monda
2017-11-08 23:15:47 +01:00
parent f9e1d022f2
commit 4e8061eb63
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ if (eepromTransferId === undefined) {
}
const device = uhk.getUhkDevice();
device.write(uhk.getTransferData(new Buffer([uhk.usbCommands.launchEepromTransfer, eepromTransferId])));
device.write(uhk.getTransferData(new Buffer([uhk.usbCommands.launchEepromTransferLegacy, eepromTransferId])));
const buffer = Buffer.from(device.readSync());
const responseCode = buffer[0];
if (responseCode !== 0) {

View File

@@ -58,7 +58,7 @@ exports = module.exports = moduleExports = {
applyConfig: 9,
setLedPwmBrightness: 10,
getAdcValue: 11,
launchEepromTransfer: 12,
launchEepromTransferLegacy: 12,
readHardwareConfig: 13,
writeHardwareConfig: 14,
readUserConfig: 15,