Skip to content

Commit 87922c1

Browse files
committed
makefiles/stdio.inc.mk: don't count the same stdio twice
1 parent 5bcddc0 commit 87922c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

makefiles/stdio.inc.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ifneq (,$(filter stdin,$(USEMODULE)))
3333
USEMODULE += isrpipe
3434
endif
3535

36-
ifneq (1, $(words $(filter $(STDIO_MODULES),$(USEMODULE))))
36+
ifneq (1, $(words $(sort $(filter $(STDIO_MODULES),$(USEMODULE)))))
3737
USEMODULE += stdio_dispatch
3838
endif
3939

0 commit comments

Comments
 (0)