removed obsolete tud_network_link_state_cb()
This commit is contained in:
		| @@ -337,11 +337,6 @@ static void ncm_report(void) | ||||
|   } | ||||
| } | ||||
|  | ||||
| TU_ATTR_WEAK void tud_network_link_state_cb(bool state) | ||||
| { | ||||
|   (void)state; | ||||
| } | ||||
|  | ||||
| // Handle class control request | ||||
| // return false to stall control endpoint (e.g unsupported request) | ||||
| bool netd_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_request_t const * request) | ||||
| @@ -381,8 +376,6 @@ bool netd_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_request_t | ||||
|                 ncm_report(); | ||||
|               } | ||||
|             } | ||||
|  | ||||
|             tud_network_link_state_cb(ncm_interface.itf_data_alt); | ||||
|           } | ||||
|  | ||||
|           tud_control_status(rhport, request); | ||||
|   | ||||
| @@ -96,11 +96,6 @@ void tud_network_init_cb(void); | ||||
| // TODO removed later since it is not part of tinyusb stack | ||||
| extern uint8_t tud_network_mac_address[6]; | ||||
|  | ||||
| //------------- NCM -------------// | ||||
|  | ||||
| // callback to client providing optional indication of internal state of network driver | ||||
| void tud_network_link_state_cb(bool state); | ||||
|  | ||||
| //--------------------------------------------------------------------+ | ||||
| // INTERNAL USBD-CLASS DRIVER API | ||||
| //--------------------------------------------------------------------+ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Hardy Griech
					Hardy Griech