We need to ignore the output of focus-send device.reset or else flashing a keyboard without focus can break

pull/1241/head
Jesse Vincent 2 years ago
parent 96fbfb0628
commit 8196adab6c
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -207,7 +207,7 @@ endif
@$(shell read _) @$(shell read _)
# If we have a device serial port available, try to trigger a Kaliedoscope reset # If we have a device serial port available, try to trigger a Kaliedoscope reset
ifneq ($(_device_port),) ifneq ($(_device_port),)
$(QUIET) DEVICE=$(_device_port) $(KALEIDOSCOPE_DIR)/bin/focus-send "device.reset" -$(QUIET) DEVICE=$(_device_port) $(KALEIDOSCOPE_DIR)/bin/focus-send "device.reset"
sleep 2 sleep 2
endif endif
$(QUIET) $(ARDUINO_CLI) upload --fqbn $(FQBN) \ $(QUIET) $(ARDUINO_CLI) upload --fqbn $(FQBN) \

Loading…
Cancel
Save