Skip to content

Commit dc74e63

Browse files
committed
fix unaligned hub status_change
1 parent ef69da0 commit dc74e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/host/hub.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ typedef struct
4545
uint8_t itf_num;
4646
uint8_t ep_in;
4747
uint8_t port_count;
48-
uint8_t status_change; // data from status change interrupt endpoint
4948

49+
CFG_TUH_MEM_ALIGN uint8_t status_change;
5050
CFG_TUH_MEM_ALIGN hub_port_status_response_t port_status;
5151
CFG_TUH_MEM_ALIGN hub_status_response_t hub_status;
5252
} hub_interface_t;

0 commit comments

Comments
 (0)