Skip to content

Commit

Permalink
usbd_gs_can: add GS_CAN_MODE_FD USBD_GS_CAN_btconst
Browse files Browse the repository at this point in the history
  • Loading branch information
marckleinebudde committed Dec 5, 2022
1 parent a037fd0 commit 7437722
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/usbd_gs_can.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7437722

Please sign in to comment.