summaryrefslogtreecommitdiff
path: root/src/class/net/net_device.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-10-14 17:13:28 +0700
committerhathach <[email protected]>2025-10-14 17:13:28 +0700
commit47b13f6b102ea981b79588158dca436ebc21f1ae (patch)
treee435b6af711f0386daec3eb53313cf4c2c240735 /src/class/net/net_device.h
parent9bf18d080b202e8e09bd76f32272b1dbfabfa3b9 (diff)
improve cmake warning flags, fix various warnings in examples
Diffstat (limited to 'src/class/net/net_device.h')
-rw-r--r--src/class/net/net_device.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/class/net/net_device.h b/src/class/net/net_device.h
index fff2623b7..ef5ecffc8 100644
--- a/src/class/net/net_device.h
+++ b/src/class/net/net_device.h
@@ -56,6 +56,13 @@ typedef enum
#endif
//--------------------------------------------------------------------+
+// Implemented by Application
+//--------------------------------------------------------------------+
+#if CFG_TUD_ECM_RNDIS
+extern void rndis_class_set_handler(uint8_t *data, int size);
+#endif
+
+//--------------------------------------------------------------------+
// Application API
//--------------------------------------------------------------------+