From 54c941fa88566d3d1424ccd3b7972a293c0230ce Mon Sep 17 00:00:00 2001 From: Taylor Zowtuk Date: Fri, 19 Jul 2019 11:00:25 -0600 Subject: Syntax fix and documentation of MONITOR_PARAMS --- Arduino.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Arduino.mk') diff --git a/Arduino.mk b/Arduino.mk index a403342..b9611a0 100644 --- a/Arduino.mk +++ b/Arduino.mk @@ -1792,11 +1792,11 @@ show_submenu: monitor: ifeq ($(notdir $(MONITOR_CMD)), putty) - ifneq ($(strip $(MONITOR_PARAMS)),) +ifneq ($(strip $(MONITOR_PARAMS)),) $(MONITOR_CMD) -serial -sercfg $(MONITOR_BAUDRATE),$(MONITOR_PARAMS) $(call get_monitor_port) - else +else $(MONITOR_CMD) -serial -sercfg $(MONITOR_BAUDRATE) $(call get_monitor_port) - endif +endif else ifeq ($(notdir $(MONITOR_CMD)), picocom) $(MONITOR_CMD) -b $(MONITOR_BAUDRATE) $(MONITOR_PARAMS) $(call get_monitor_port) else ifeq ($(notdir $(MONITOR_CMD)), cu) -- cgit v1.2.3