Remove --buspal speed specification because it gets disrespected by the firmware anyways.

This commit is contained in:
László Monda
2018-01-14 22:13:31 +01:00
parent a8108b9abf
commit 7c065f4368
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ export class UhkOperations {
this.logService.debug('[UhkOperations] Start flashing left module firmware'); this.logService.debug('[UhkOperations] Start flashing left module firmware');
const prefix = [`--usb 0x1d50,0x${EnumerationNameToProductId.buspal.toString(16)}`]; const prefix = [`--usb 0x1d50,0x${EnumerationNameToProductId.buspal.toString(16)}`];
const buspalPrefix = [...prefix, `--buspal i2c,${ModuleSlotToI2cAddress.leftHalf},100k`]; const buspalPrefix = [...prefix, `--buspal i2c,${ModuleSlotToI2cAddress.leftHalf}`];
await this.device.reenumerate(EnumerationModes.NormalKeyboard); await this.device.reenumerate(EnumerationModes.NormalKeyboard);
this.device.close(); this.device.close();

View File

@@ -19,7 +19,7 @@ checkFirmwareImage(firmwareImage, extension);
const usbDir = `${__dirname}`; const usbDir = `${__dirname}`;
const blhostUsb = getBlhostCmd(uhk.enumerationNameToProductId.buspal); const blhostUsb = getBlhostCmd(uhk.enumerationNameToProductId.buspal);
const blhostBuspal = `${blhostUsb} --buspal i2c,${i2cAddress},100k`; const blhostBuspal = `${blhostUsb} --buspal i2c,${i2cAddress}`;
config.verbose = true; config.verbose = true;
exec(`${usbDir}/send-kboot-command-to-module.js ping ${moduleSlot}`); exec(`${usbDir}/send-kboot-command-to-module.js ping ${moduleSlot}`);