diff options
| author | Ha Thach <[email protected]> | 2020-04-28 11:12:58 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-04-28 11:12:58 +0700 |
| commit | b52bc894f89b3cf0bc338a6b23170d90fb2e98fa (patch) | |
| tree | b6b90325f5a55670ff933de708d8504539e06585 /src/class/net/net_device.c | |
| parent | d54343e4a6bc84549caf69ecd26a98852127ef3f (diff) | |
| parent | fcdb22b2f9db6f4e08ce05a1b2b7a1c9cc06a4ab (diff) | |
Merge pull request #380 from hathach/fix-usbnet-synopsys
synopsys turn off TX FIFO Empty for EPIN if all bytes are written
Diffstat (limited to 'src/class/net/net_device.c')
| -rw-r--r-- | src/class/net/net_device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/class/net/net_device.c b/src/class/net/net_device.c index ad1d66fca..fedd4db99 100644 --- a/src/class/net/net_device.c +++ b/src/class/net/net_device.c @@ -89,6 +89,7 @@ static const struct ecm_notify_struct ecm_notify_csc = .uplink = 9728000, }; +// TODO remove CFG_TUSB_MEM_SECTION, control internal buffer is already in this special section CFG_TUSB_MEM_SECTION CFG_TUSB_MEM_ALIGN static union { uint8_t rndis_buf[120]; @@ -98,6 +99,7 @@ CFG_TUSB_MEM_SECTION CFG_TUSB_MEM_ALIGN static union //--------------------------------------------------------------------+ // INTERNAL OBJECT & FUNCTION DECLARATION //--------------------------------------------------------------------+ +// TODO remove CFG_TUSB_MEM_SECTION CFG_TUSB_MEM_SECTION static netd_interface_t _netd_itf; static bool can_xmit; |
