Rename launchEepromTransfer to launchEepromTransferLegacy.
This commit is contained in:
@@ -10,7 +10,7 @@ if (eepromTransferId === undefined) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const device = uhk.getUhkDevice();
|
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 buffer = Buffer.from(device.readSync());
|
||||||
const responseCode = buffer[0];
|
const responseCode = buffer[0];
|
||||||
if (responseCode !== 0) {
|
if (responseCode !== 0) {
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ exports = module.exports = moduleExports = {
|
|||||||
applyConfig: 9,
|
applyConfig: 9,
|
||||||
setLedPwmBrightness: 10,
|
setLedPwmBrightness: 10,
|
||||||
getAdcValue: 11,
|
getAdcValue: 11,
|
||||||
launchEepromTransfer: 12,
|
launchEepromTransferLegacy: 12,
|
||||||
readHardwareConfig: 13,
|
readHardwareConfig: 13,
|
||||||
writeHardwareConfig: 14,
|
writeHardwareConfig: 14,
|
||||||
readUserConfig: 15,
|
readUserConfig: 15,
|
||||||
|
|||||||
Reference in New Issue
Block a user