From adfa1f14217d1f9fda819fc0c9adcb8367072fa4 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Mon, 21 Nov 2022 18:20:45 +0100 Subject: [PATCH] usbd_gs_can: add GS_CAN_MODE_FD USBD_GS_CAN_btconst --- src/usbd_gs_can.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/usbd_gs_can.c b/src/usbd_gs_can.c index 403d200d..bd58dc84 100644 --- a/src/usbd_gs_can.c +++ b/src/usbd_gs_can.c @@ -221,6 +221,9 @@ static const struct gs_device_bt_const USBD_GS_CAN_btconst = { GS_CAN_FEATURE_HW_TIMESTAMP | GS_CAN_FEATURE_IDENTIFY | GS_CAN_FEATURE_PAD_PKTS_TO_MAX_PKT_SIZE +#ifdef CONFIG_CANFD + | GS_CAN_MODE_FD +#endif #ifdef TERM_Pin | GS_CAN_FEATURE_TERMINATION #endif