diff options
| author | HiFiPhile <[email protected]> | 2024-11-30 18:05:04 +0100 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2024-11-30 18:05:04 +0100 |
| commit | c41d9db3b1cf23b10b755b55a231fc9b1a7dd147 (patch) | |
| tree | cfd006e9a2b6b3cb82a1c8c9f96a6671d5cf7cbb /lib | |
| parent | 486e14ea9b66432396089367e61a0480bbb960a9 (diff) | |
| parent | 2179fb1bd93b71d755c4bf212aff7094f5e8337d (diff) | |
Merge branch 'master' into rt1170
Signed-off-by: HiFiPhile <[email protected]>
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)); } |
