diff options
| author | HiFiPhile <[email protected]> | 2025-06-08 13:53:23 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2025-06-08 13:53:23 +0200 |
| commit | 1ccb10e3f1418e51c03898f7ea2067208fd642b5 (patch) | |
| tree | 64518c96f2305903afc1a6a3843b7139cd380f57 /src/class | |
| parent | b6ce41188e6780436dc9a9a0ed1232631753e3bb (diff) | |
Fix ECM compile
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/net/ecm_rndis_device.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/class/net/ecm_rndis_device.c b/src/class/net/ecm_rndis_device.c index f1a88b3c0..299eb97c8 100644 --- a/src/class/net/ecm_rndis_device.c +++ b/src/class/net/ecm_rndis_device.c @@ -186,8 +186,6 @@ uint16_t netd_open(uint8_t rhport, tusb_desc_interface_t const * itf_desc, uint1 // Open endpoint pair for RNDIS TU_ASSERT(usbd_open_edpt_pair(rhport, p_desc, 2, TUSB_XFER_BULK, &_netd_itf.ep_out, &_netd_itf.ep_in), 0); - tud_network_init_cb(); - // we are ready to transmit a packet can_xmit = true; @@ -264,7 +262,6 @@ bool netd_control_xfer_cb (uint8_t rhport, uint8_t stage, tusb_control_request_t // TODO should be merge with RNDIS's after endpoint opened // Also should have opposite callback for application to disable network !! - tud_network_init_cb(); can_xmit = true; // we are ready to transmit a packet tud_network_recv_renew(); // prepare for incoming packets } |
