Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b33779a

Browse filesBrowse files
authored
Merge pull request #1012 from pennam/set-timeout-fix
patches: WHD fix wifi join timeout
2 parents f1cf837 + c5029cd commit b33779a
Copy full SHA for b33779a

File tree

Expand file treeCollapse file tree

1 file changed

+24
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+24
-0
lines changed
+24Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
From 310f0dd40c5b070ea2077c8a580f777a5cf17951 Mon Sep 17 00:00:00 2001
2+
From: pennam <m.pennasilico@arduino.cc>
3+
Date: Tue, 7 Jan 2025 09:47:09 +0100
4+
Subject: [PATCH] WHD: fix WhdSTAInterface, add return value to set_timeout
5+
6+
---
7+
.../drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.h | 1 +
8+
1 file changed, 1 insertion(+)
9+
10+
diff --git a/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.h b/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.h
11+
index bfe933bac7..8d8f540759 100644
12+
--- a/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.h
13+
+++ b/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.h
14+
@@ -122,6 +122,7 @@ public:
15+
nsapi_error_t set_timeout(uint32_t timeout)
16+
{
17+
_timeout = timeout;
18+
+ return NSAPI_ERROR_OK;
19+
}
20+
21+
/** Set blocking status of interface.
22+
--
23+
2.45.2
24+

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.