From 61207afc3f0a2aa48e6a8ad18dacf77afeefd179 Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Thu, 2 Jan 2025 12:27:55 +0000 Subject: [PATCH] Only include cdc_acm if the config is enabled --- src/include/esp-idf/bindings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/esp-idf/bindings.h b/src/include/esp-idf/bindings.h index 1a54e8f5a7..c327ed8393 100644 --- a/src/include/esp-idf/bindings.h +++ b/src/include/esp-idf/bindings.h @@ -576,7 +576,7 @@ #include "tinyusb.h" #include "tinyusb_net.h" #include "tinyusb_types.h" -#ifdef CONFIG_TINYUSB_CDC_ENABLED +#if CONFIG_TINYUSB_CDC_ENABLED #include "tusb_cdc_acm.h" #endif #include "tusb_config.h"