Skip to content

Commit

Permalink
gs_usb.h: document used GS_CAN_MODE_* bits
Browse files Browse the repository at this point in the history
The bits in GS_CAN_MODE_ correspond to the bits in GS_CAN_FEATURE_*.
This means the bits 5 and 6 of GS_CAN_MODE_ are not "free", document
this by adding a comment to the corresponding GS_CAN_FEATURE_*.
  • Loading branch information
marckleinebudde committed Dec 30, 2021
1 parent e6b9724 commit f2da887
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/gs_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ THE SOFTWARE.
#define GS_CAN_MODE_TRIPLE_SAMPLE (1<<2)
#define GS_CAN_MODE_ONE_SHOT (1<<3)
#define GS_CAN_MODE_HW_TIMESTAMP (1<<4)

/* #define GS_CAN_FEATURE_IDENTIFY (1<<5) */
/* #define GS_CAN_FEATURE_USER_ID (1<<6) */
#define GS_CAN_MODE_PAD_PKTS_TO_MAX_PKT_SIZE (1<<7)

#define GS_CAN_FEATURE_LISTEN_ONLY (1<<0)
Expand Down

0 comments on commit f2da887

Please sign in to comment.