Skip to content

Commit

Permalink
Remove --usb-interface agent argument as it is no longer needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
kareltucek committed Jan 13, 2025
1 parent c602f08 commit 70b297d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@ function determineUsbDeviceArg() {

case $DEVICE in
uhk-80-left)
DEVICEUSBID="--vid=0x37a8 --pid=7 --usb-interface=2"
DEVICEUSBID="--vid=0x37a8 --pid=7"
;;
uhk-80-right)
DEVICEUSBID="--vid=0x37a8 --pid=9 --usb-interface=2"
DEVICEUSBID="--vid=0x37a8 --pid=9"
;;
uhk-dongle)
DEVICEUSBID="--vid=0x37a8 --pid=5 --usb-interface=2"
DEVICEUSBID="--vid=0x37a8 --pid=5"
;;
uhk-60)
;;
Expand Down
2 changes: 1 addition & 1 deletion right/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ CPU = -mcpu=cortex-m4
FPU = -mfpu=fpv4-sp-d16 -mfloat-abi=hard

# Command for flashing the right half of the keyboard.
FLASH_CMD = ../../lib/agent/node_modules/.bin/tsx ../../lib/agent/packages/usb/update-device-firmware.ts --vid=14248 --pid=$(DEVICE_PID) --usb-interface=4 $(PROJECT_OBJ:.axf=.hex)
FLASH_CMD = ../../lib/agent/node_modules/.bin/tsx ../../lib/agent/packages/usb/update-device-firmware.ts --vid=14248 --pid=$(DEVICE_PID) $(PROJECT_OBJ:.axf=.hex)

# Path to the JLink script used for the right half.
JLINK_SCRIPT = ../../scripts/flash-right.jlink
Expand Down

0 comments on commit 70b297d

Please sign in to comment.