mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-09 18:44:31 +00:00
add TODO for usbnet clean up
This commit is contained in:
parent
a1c599f4b6
commit
83353dd93f
@ -89,7 +89,8 @@ static const struct ecm_notify_struct ecm_notify_csc =
|
|||||||
.uplink = 9728000,
|
.uplink = 9728000,
|
||||||
};
|
};
|
||||||
|
|
||||||
CFG_TUSB_MEM_SECTION CFG_TUSB_MEM_ALIGN static union
|
// TODO remove CFG_TUSB_MEM_SECTION, control internal buffer is already in this special section
|
||||||
|
CFG_TUSB_MEM_SECTION TU_ATTR_ALIGNED(4) static union
|
||||||
{
|
{
|
||||||
uint8_t rndis_buf[120];
|
uint8_t rndis_buf[120];
|
||||||
struct ecm_notify_struct ecm_buf;
|
struct ecm_notify_struct ecm_buf;
|
||||||
@ -98,6 +99,7 @@ CFG_TUSB_MEM_SECTION CFG_TUSB_MEM_ALIGN static union
|
|||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
// INTERNAL OBJECT & FUNCTION DECLARATION
|
// INTERNAL OBJECT & FUNCTION DECLARATION
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
|
// TODO remove CFG_TUSB_MEM_SECTION
|
||||||
CFG_TUSB_MEM_SECTION static netd_interface_t _netd_itf;
|
CFG_TUSB_MEM_SECTION static netd_interface_t _netd_itf;
|
||||||
|
|
||||||
static bool can_xmit;
|
static bool can_xmit;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user