Implement requested PR changes

Removes CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, and makes the manual padding
behavior standard.  Replaced unused variable name with TU_RESERVED.
This commit is contained in:
Jeremiah McCarthy
2021-02-18 13:26:03 -05:00
parent f8fbc0930b
commit 21f1cd4ec7
6 changed files with 10 additions and 59 deletions

View File

@@ -163,11 +163,7 @@ typedef struct {
uint16_t high_speed : 1;
uint16_t port_test_mode : 1;
uint16_t port_indicator_control : 1;
#if CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT
uint16_t unused : 3;
#else
uint16_t : 0;
#endif /* CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT */
uint16_t TU_RESERVED : 3;
};
uint16_t value;