summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-12-01 00:00:55 +0100
committerHiFiPhile <[email protected]>2024-12-01 00:01:33 +0100
commitf10467e711017fb05a6e0ee496e451e2e8834549 (patch)
tree92f8c27b2768564421cd05703e6833db3661df95 /lib
parent85ff529a310b7e6ec2e4234e3e292fef6432882b (diff)
parent2179fb1bd93b71d755c4bf212aff7094f5e8337d (diff)
Merge branch 'master' into dcd_notif
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r--lib/networking/rndis_reports.c6
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));
}