More proper handling of clear.

This commit is contained in:
Nathan Conrad
2019-09-15 14:57:02 -04:00
parent c755aee7d0
commit e234998c6c
4 changed files with 71 additions and 28 deletions

View File

@@ -279,13 +279,11 @@ TU_VERIFY_STATIC(sizeof(usbtmc_read_stb_rsp_488_t) == 3u, "struct wrong length")
typedef struct TU_ATTR_PACKET
{
union {
struct TU_ATTR_PACKED {
struct TU_ATTR_PACKED
{
unsigned int bTag : 7;
unsigned int one : 1;
} bNotify1Struct;
uint8_t bNotify1;
};
} bNotify1;
uint8_t StatusByte;
} usbtmc_read_stb_interrupt_488_t;