From 8196adab6cb2cbe3174307e23e301fda2f7e3152 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 25 Sep 2022 10:35:14 -0700 Subject: [PATCH] We need to ignore the output of focus-send device.reset or else flashing a keyboard without focus can break --- etc/makefiles/sketch.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/makefiles/sketch.mk b/etc/makefiles/sketch.mk index 2178a739..570a659a 100644 --- a/etc/makefiles/sketch.mk +++ b/etc/makefiles/sketch.mk @@ -207,7 +207,7 @@ endif @$(shell read _) # If we have a device serial port available, try to trigger a Kaliedoscope reset 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 endif $(QUIET) $(ARDUINO_CLI) upload --fqbn $(FQBN) \