diff --git a/bin/focus-test b/bin/focus-send similarity index 92% rename from bin/focus-test rename to bin/focus-send index c235c154..d300bd84 100755 --- a/bin/focus-test +++ b/bin/focus-send @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# focus-test - Trivial Focus testing tool -# Copyright (C) 2018 Keyboard.io, Inc. +# focus-send - Trivial Focus testing tool +# Copyright (C) 2018-2022 Keyboard.io, Inc. # # This program is free software: you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software diff --git a/etc/makefiles/sketch.mk b/etc/makefiles/sketch.mk index 286ea89f..2178a739 100644 --- a/etc/makefiles/sketch.mk +++ b/etc/makefiles/sketch.mk @@ -206,8 +206,8 @@ endif $(info ) @$(shell read _) # If we have a device serial port available, try to trigger a Kaliedoscope reset -ifneq ($(_device_port),) - $(QUIET) echo "device.reset" > $(_device_port) +ifneq ($(_device_port),) + $(QUIET) DEVICE=$(_device_port) $(KALEIDOSCOPE_DIR)/bin/focus-send "device.reset" sleep 2 endif $(QUIET) $(ARDUINO_CLI) upload --fqbn $(FQBN) \