diff options
| author | hathach <[email protected]> | 2024-11-22 16:46:26 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-11-22 16:46:26 +0700 |
| commit | 7831af3ccfde639eee308f5366a4ec4ea6d5c658 (patch) | |
| tree | 56486d8c060b0ae8401eb21b192fc71e3e30e6fc /src/class/net/ncm.h | |
| parent | 8a5c118a66186a5c6671bb7ce3fb56650daa295b (diff) | |
update epnotif endpoint for ncm_device.c
Diffstat (limited to 'src/class/net/ncm.h')
| -rw-r--r-- | src/class/net/ncm.h | 7 |
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 |
