From 467a6ab0052ca90b599a32cffda3ec81b44f1426 Mon Sep 17 00:00:00 2001 From: Oliver Larsson Date: Sun, 29 Oct 2023 16:53:10 +0100 Subject: [PATCH] Allow external definition of TU_CP210X_PID_LIST --- src/class/cdc/serial/cp210x.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/class/cdc/serial/cp210x.h b/src/class/cdc/serial/cp210x.h index b01417092e..18f694a308 100644 --- a/src/class/cdc/serial/cp210x.h +++ b/src/class/cdc/serial/cp210x.h @@ -29,8 +29,11 @@ // https://www.silabs.com/documents/public/application-notes/AN571.pdf #define TU_CP210X_VID 0x10C4 + +#ifndef TU_CP210X_PID_LIST #define TU_CP210X_PID_LIST \ 0xEA60, 0xEA70 +#endif /* Config request codes */ #define CP210X_IFC_ENABLE 0x00