Skip to content

Commit 5563b8a

Browse files
jpeletiermarcelstoer
authored andcommitted
hotfix: fix Makefile BAUDRATE default value for non-Windows OS (#2693)
1 parent 38262e9 commit 5563b8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ export summary := @echo
4848
MAKEFLAGS += --silent -w
4949
endif # $(V)==1
5050

51+
ifndef BAUDRATE
52+
BAUDRATE=115200
53+
endif
5154

5255
#############################################################
5356
# Select compile
@@ -82,9 +85,6 @@ ifeq ($(OS),Windows_NT)
8285
else
8386
ESPPORT = $(COMPORT)
8487
endif
85-
ifndef BAUDRATE
86-
BAUDRATE=115200
87-
endif
8888
ifeq ($(PROCESSOR_ARCHITECTURE),AMD64)
8989
# ->AMD64
9090
endif

0 commit comments

Comments
 (0)