diff --git a/makefiles/boards/sam0.inc.mk b/makefiles/boards/sam0.inc.mk index a9f6895d62..4f9c3e30f6 100644 --- a/makefiles/boards/sam0.inc.mk +++ b/makefiles/boards/sam0.inc.mk @@ -28,7 +28,7 @@ ifeq ($(DEBUG_ADAPTER),dap) PROGRAMMER ?= edbg else ifeq ($(DEBUG_ADAPTER),jlink) # only use JLinkExe if it's installed - ifneq (,$(shell command -v JLinkExe))) + ifneq (,$(shell command -v JLinkExe)) PROGRAMMER ?= jlink else PROGRAMMER ?= openocd