File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -262,32 +262,32 @@ typedef struct TU_ATTR_PACKED
262
262
263
263
struct TU_ATTR_PACKED
264
264
{
265
- unsigned int listenOnly :1 ;
266
- unsigned int talkOnly :1 ;
267
- unsigned int supportsIndicatorPulse :1 ;
265
+ uint8_t listenOnly :1 ;
266
+ uint8_t talkOnly :1 ;
267
+ uint8_t supportsIndicatorPulse :1 ;
268
268
} bmIntfcCapabilities ;
269
269
270
270
struct TU_ATTR_PACKED
271
271
{
272
- unsigned int canEndBulkInOnTermChar :1 ;
272
+ uint8_t canEndBulkInOnTermChar :1 ;
273
273
} bmDevCapabilities ;
274
274
275
275
uint8_t _reserved2 [6 ];
276
276
uint16_t bcdUSB488 ;
277
277
278
278
struct TU_ATTR_PACKED
279
279
{
280
- unsigned int is488_2 :1 ;
281
- unsigned int supportsREN_GTL_LLO :1 ;
282
- unsigned int supportsTrigger :1 ;
280
+ uint8_t supportsTrigger :1 ;
281
+ uint8_t supportsREN_GTL_LLO :1 ;
282
+ uint8_t is488_2 :1 ;
283
283
} bmIntfcCapabilities488 ;
284
284
285
285
struct TU_ATTR_PACKED
286
286
{
287
- unsigned int SCPI :1 ;
288
- unsigned int SR1 :1 ;
289
- unsigned int RL1 :1 ;
290
- unsigned int DT1 :1 ;
287
+ uint8_t DT1 :1 ;
288
+ uint8_t RL1 :1 ;
289
+ uint8_t SR1 :1 ;
290
+ uint8_t SCPI :1 ;
291
291
} bmDevCapabilities488 ;
292
292
uint8_t _reserved3 [8 ];
293
293
} usbtmc_response_capabilities_488_t ;
You can’t perform that action at this time.
0 commit comments