mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
Update vendor_device.c
This commit is contained in:
parent
876f49f6ad
commit
1fb2a2f1bd
2
src/class/vendor/vendor_device.c
vendored
2
src/class/vendor/vendor_device.c
vendored
@ -59,7 +59,7 @@ typedef struct
|
|||||||
CFG_TUSB_MEM_ALIGN uint8_t epin_buf[CFG_TUD_VENDOR_EPSIZE];
|
CFG_TUSB_MEM_ALIGN uint8_t epin_buf[CFG_TUD_VENDOR_EPSIZE];
|
||||||
} vendord_interface_t;
|
} vendord_interface_t;
|
||||||
|
|
||||||
CFG_TUSB_MEM_SECTION static vendord_interface_t _vendord_itf[CFG_TUD_VENDOR];
|
CFG_TUSB_MEM_SECTION tu_static vendord_interface_t _vendord_itf[CFG_TUD_VENDOR];
|
||||||
|
|
||||||
#define ITF_MEM_RESET_SIZE offsetof(vendord_interface_t, rx_ff)
|
#define ITF_MEM_RESET_SIZE offsetof(vendord_interface_t, rx_ff)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user