Move checkFirmwareImage() from shared.js to uhk.js

This commit is contained in:
László Monda
2018-01-30 21:28:00 +01:00
parent 8e620caac5
commit 73e07eae2d
4 changed files with 20 additions and 20 deletions

View File

@@ -15,7 +15,7 @@ let moduleSlot = program.args[0];
const i2cAddress = uhk.checkModuleSlot(moduleSlot, uhk.moduleSlotToI2cAddress);
const firmwareImage = program.args[1];
checkFirmwareImage(firmwareImage, extension);
uhk.checkFirmwareImage(firmwareImage, extension);
const usbDir = `${__dirname}`;
const blhostUsb = getBlhostCmd(uhk.enumerationNameToProductId.buspal);