summaryrefslogtreecommitdiff
path: root/src/class/cdc/cdc_host.c
diff options
context:
space:
mode:
authorOliver Larsson <[email protected]>2023-10-29 16:53:10 +0100
committerOliver Larsson <[email protected]>2023-11-25 08:34:52 +0100
commitc4e04d3db4f8f33e906afbae4739d64e53fa9987 (patch)
tree8d4f71fd068fe4d809e291831cb1f211932446e2 /src/class/cdc/cdc_host.c
parent10558acac6658d1480a6a6c025e006f2a6f4e212 (diff)
Add configuration option CFG_TUH_CDC_CP210X_PID_LIST to tusb_option.h
Diffstat (limited to 'src/class/cdc/cdc_host.c')
-rw-r--r--src/class/cdc/cdc_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_host.c b/src/class/cdc/cdc_host.c
index 53e15710e..a6af9b84d 100644
--- a/src/class/cdc/cdc_host.c
+++ b/src/class/cdc/cdc_host.c
@@ -109,7 +109,7 @@ static bool ftdi_sio_set_baudrate(cdch_interface_t* p_cdc, uint32_t baudrate, tu
#if CFG_TUH_CDC_CP210X
#include "serial/cp210x.h"
-static uint16_t const cp210x_pids[] = { TU_CP210X_PID_LIST };
+static uint16_t const cp210x_pids[] = { CFG_TUH_CDC_CP210X_PID_LIST };
enum {
CP210X_PID_COUNT = sizeof(cp210x_pids) / sizeof(cp210x_pids[0])
};