From c296e6f49b9f1865d2671da6ac62289359db720c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Tue, 12 Dec 2017 02:15:57 +0100 Subject: [PATCH] Change UsbCommandId_ApplyConfig to 0x07. --- packages/uhk-usb/src/constants.ts | 2 +- packages/usb/uhk.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/uhk-usb/src/constants.ts b/packages/uhk-usb/src/constants.ts index d41cdf28..9ae50fad 100644 --- a/packages/uhk-usb/src/constants.ts +++ b/packages/uhk-usb/src/constants.ts @@ -15,7 +15,7 @@ export enum UsbCommand { ReadConfig = 0x04, WriteHardwareConfig = 0x05, WriteStagingUserConfig = 0x06, - ApplyConfig = 9, + ApplyConfig = 0x07, LaunchEepromTransfer = 12, GetKeyboardState = 16 } diff --git a/packages/usb/uhk.js b/packages/usb/uhk.js index c5d592f4..4536c2b4 100644 --- a/packages/usb/uhk.js +++ b/packages/usb/uhk.js @@ -58,8 +58,8 @@ exports = module.exports = moduleExports = { readConfig : 0x04, writeHardwareConfig : 0x05, writeStagingUserConfig : 0x06, + applyConfig : 0x07, setTestLed: 0x14, - applyConfig: 9, setLedPwmBrightness: 10, getAdcValue: 11, launchEepromTransferLegacy: 12,