From 7a65eea8d06f1f6ff519cf6a9f468a83d1e614f8 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Mon, 5 Dec 2022 17:29:42 +0100 Subject: [PATCH] pkg/tinyusb: automatic use of tinusb_device for pure device classes --- pkg/tinyusb/Makefile.dep | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkg/tinyusb/Makefile.dep b/pkg/tinyusb/Makefile.dep index a663923680..9413afc7e9 100644 --- a/pkg/tinyusb/Makefile.dep +++ b/pkg/tinyusb/Makefile.dep @@ -30,31 +30,31 @@ endif # Following device classes work only with tinyUSB device stack ifneq (,$(filter tinyusb_class_audio,$(USEMODULE))) - FEATURES_REQUIRED += tinyusb_device + USEMODULE += tinyusb_device endif ifneq (,$(filter tinyusb_class_bth,$(USEMODULE))) - FEATURES_REQUIRED += tinyusb_device + USEMODULE += tinyusb_device endif ifneq (,$(filter tinyusb_class_dfu,$(USEMODULE))) - FEATURES_REQUIRED += tinyusb_device + USEMODULE += tinyusb_device endif ifneq (,$(filter tinyusb_class_dfu_runtime,$(USEMODULE))) - FEATURES_REQUIRED += tinyusb_device + USEMODULE += tinyusb_device endif ifneq (,$(filter tinyusb_class_midi,$(USEMODULE))) - FEATURES_REQUIRED += tinyusb_device + USEMODULE += tinyusb_device endif ifneq (,$(filter tinyusb_class_net_ecm_rndis,$(USEMODULE))) - FEATURES_REQUIRED += tinyusb_device + USEMODULE += tinyusb_device endif ifneq (,$(filter tinyusb_class_net_ncm,$(USEMODULE))) - FEATURES_REQUIRED += tinyusb_device + USEMODULE += tinyusb_device endif ifneq (,$(filter tinyusb_class_usbtmc,$(USEMODULE))) - FEATURES_REQUIRED += tinyusb_device + USEMODULE += tinyusb_device endif ifneq (,$(filter tinyusb_class_video,$(USEMODULE))) - FEATURES_REQUIRED += tinyusb_device + USEMODULE += tinyusb_device endif # tinyUSB hardware driver selection