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

This commit is contained in:
László Monda
2018-01-30 21:35:35 +01:00
parent 73e07eae2d
commit 288d4f75b6
4 changed files with 25 additions and 25 deletions

View File

@@ -18,7 +18,7 @@ const firmwareImage = program.args[1];
uhk.checkFirmwareImage(firmwareImage, extension);
const usbDir = `${__dirname}`;
const blhostUsb = getBlhostCmd(uhk.enumerationNameToProductId.buspal);
const blhostUsb = uhk.getBlhostCmd(uhk.enumerationNameToProductId.buspal);
const blhostBuspal = `${blhostUsb} --buspal i2c,${i2cAddress}`;
config.verbose = true;