From 7c065f436806b20e6800e367039f2b25aca0e697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Sun, 14 Jan 2018 22:13:31 +0100 Subject: [PATCH] Remove --buspal speed specification because it gets disrespected by the firmware anyways. --- packages/uhk-usb/src/uhk-operations.ts | 2 +- packages/usb/update-module-firmware.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/uhk-usb/src/uhk-operations.ts b/packages/uhk-usb/src/uhk-operations.ts index ae0b71b2..85258494 100644 --- a/packages/uhk-usb/src/uhk-operations.ts +++ b/packages/uhk-usb/src/uhk-operations.ts @@ -33,7 +33,7 @@ export class UhkOperations { this.logService.debug('[UhkOperations] Start flashing left module firmware'); 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); this.device.close(); diff --git a/packages/usb/update-module-firmware.js b/packages/usb/update-module-firmware.js index 10401c3a..f0b3904e 100755 --- a/packages/usb/update-module-firmware.js +++ b/packages/usb/update-module-firmware.js @@ -19,7 +19,7 @@ checkFirmwareImage(firmwareImage, extension); const usbDir = `${__dirname}`; const blhostUsb = getBlhostCmd(uhk.enumerationNameToProductId.buspal); -const blhostBuspal = `${blhostUsb} --buspal i2c,${i2cAddress},100k`; +const blhostBuspal = `${blhostUsb} --buspal i2c,${i2cAddress}`; config.verbose = true; exec(`${usbDir}/send-kboot-command-to-module.js ping ${moduleSlot}`);