From cd754458b2a99489a9f3b532ac48bd0e27c40976 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Fri, 12 Oct 2018 20:24:54 +0300 Subject: [PATCH] Fix error `/dev/ttyUSB0 is not a regular file` --- Arduino.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Arduino.mk b/Arduino.mk index 3b4ecdb..a8144e3 100644 --- a/Arduino.mk +++ b/Arduino.mk @@ -1763,7 +1763,7 @@ else ifeq ($(notdir $(MONITOR_CMD)), picocom) else ifeq ($(notdir $(MONITOR_CMD)), cu) $(MONITOR_CMD) -l $(call get_monitor_port) -s $(MONITOR_BAUDRATE) else ifeq ($(MONITOR_CMD), less) - $(MONITOR_CMD) +F $(call get_monitor_port) + $(MONITOR_CMD) +F -f $(call get_monitor_port) else ifeq ($(MONITOR_CMD), tail) $(MONITOR_CMD) -f $(call get_monitor_port) else ifeq ($(MONITOR_CMD), cat)