MCPcopy Create free account
hub / github.com/OpenStickCommunity/GP2040-CE / initialize

Method initialize

src/drivers/net/NetDriver.cpp:45–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43};
44
45void NetDriver::initialize() {
46 class_driver = {
47 #if CFG_TUSB_DEBUG >= 2
48 .name = "NET",
49 #endif
50 .init = netd_init,
51 .reset = netd_reset,
52 .open = netd_open,
53 .control_xfer_cb = netd_control_xfer_cb,
54 .xfer_cb = netd_xfer_cb,
55 .sof = NULL,
56 };
57}
58
59// Run RNDIS task from web config
60bool NetDriver::process(Gamepad * gamepad) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected