summaryrefslogtreecommitdiff
path: root/src/class/net/ncm.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-11-22 16:46:26 +0700
committerhathach <[email protected]>2024-11-22 16:46:26 +0700
commit7831af3ccfde639eee308f5366a4ec4ea6d5c658 (patch)
tree56486d8c060b0ae8401eb21b192fc71e3e30e6fc /src/class/net/ncm.h
parent8a5c118a66186a5c6671bb7ce3fb56650daa295b (diff)
update epnotif endpoint for ncm_device.c
Diffstat (limited to 'src/class/net/ncm.h')
-rw-r--r--src/class/net/ncm.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/class/net/ncm.h b/src/class/net/ncm.h
index 1b987fca0..0245a87f2 100644
--- a/src/class/net/ncm.h
+++ b/src/class/net/ncm.h
@@ -155,9 +155,10 @@ typedef union TU_ATTR_PACKED {
uint8_t data[CFG_TUD_NCM_OUT_NTB_MAX_SIZE];
} recv_ntb_t;
-struct ncm_notify_t {
+typedef struct {
tusb_control_request_t header;
- uint32_t downlink, uplink;
-};
+ uint32_t downlink;
+ uint32_t uplink;
+} ncm_notify_t;
#endif