diff options
| author | Ha Thach <[email protected]> | 2024-11-25 18:07:39 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-11-25 18:07:39 +0700 |
| commit | 66741e35c2661ccaa6a8f8cd6d2f6d7aab049f2c (patch) | |
| tree | 4c7d6bf0ea2986670b812481bacdc8126ae8f7b8 /lib | |
| parent | 2571889061f70b9fd425ee4e4174018bf07c5309 (diff) | |
| parent | c09eedaf24ad609a1b12bf9c1c7f631b8374f222 (diff) | |
Merge pull request #2884 from hathach/esp32p4-dma
More Esp32p4 dma with cache sync
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/networking/rndis_reports.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/networking/rndis_reports.c b/lib/networking/rndis_reports.c index 60afb8615..451d5405b 100644 --- a/lib/networking/rndis_reports.c +++ b/lib/networking/rndis_reports.c @@ -43,8 +43,6 @@ static usb_eth_stat_t usb_eth_stat = { 0, 0, 0, 0 }; static uint32_t oid_packet_filter = 0x0000000; static rndis_state_t rndis_state; -CFG_TUD_MEM_SECTION CFG_TUSB_MEM_ALIGN static uint8_t ndis_report[8] = { 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }; - static const uint32_t OIDSupportedList[] = { OID_GEN_SUPPORTED_LIST, @@ -76,8 +74,8 @@ static const uint32_t OIDSupportedList[] = static void *encapsulated_buffer; -static void rndis_report(void) -{ +static void rndis_report(void) { + uint8_t ndis_report[8] = { 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }; netd_report(ndis_report, sizeof(ndis_report)); } |
