Merge pull request #2216 from rgrr/remove-tud_network_link_state_cb

removed obsolete tud_network_link_state_cb()
This commit is contained in:
HiFiPhile 2024-05-07 13:46:57 +02:00 committed by GitHub
commit 74e57499ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 12 deletions

View File

@ -87,9 +87,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];
// 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
//--------------------------------------------------------------------+

View File

@ -69,14 +69,6 @@ void tud_network_init_cb(void) {
// TODO removed later since it is not part of tinyusb stack
uint8_t tud_network_mac_address[6] = {0};
//------------- NCM -------------//
// callback to client providing optional indication of internal state of network
// driver
void tud_network_link_state_cb(bool state) {
(void)state;
// NoOp.
}
}
} // extern "C"
#endif