Add configuration option CFG_TUH_CDC_CP210X_PID_LIST to tusb_option.h

This commit is contained in:
Oliver Larsson
2023-10-29 16:53:10 +01:00
parent 10558acac6
commit c4e04d3db4
3 changed files with 7 additions and 3 deletions

View File

@@ -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])
};