| 43 | }; |
| 44 | |
| 45 | void 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 |
| 60 | bool NetDriver::process(Gamepad * gamepad) { |
nothing calls this directly
no outgoing calls
no test coverage detected