Skip to content

patches: remove v from WHD_VERSION define #1020

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions patches/0246-WHD-remove-v-from-WHD_VERSION-define.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From fa1e9697ca3b74489bd2eb08ab9ab1ffeee2a298 Mon Sep 17 00:00:00 2001
From: pennam <[email protected]>
Date: Fri, 31 Jan 2025 16:34:05 +0100
Subject: [PATCH 246/247] WHD: remove v from WHD_VERSION define

---
.../wifi/COMPONENT_WHD/wifi-host-driver/inc/whd_version.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/connectivity/drivers/wifi/COMPONENT_WHD/wifi-host-driver/inc/whd_version.h b/connectivity/drivers/wifi/COMPONENT_WHD/wifi-host-driver/inc/whd_version.h
index 1caef23b67..5f69d8c3e0 100755
--- a/connectivity/drivers/wifi/COMPONENT_WHD/wifi-host-driver/inc/whd_version.h
+++ b/connectivity/drivers/wifi/COMPONENT_WHD/wifi-host-driver/inc/whd_version.h
@@ -15,6 +15,7 @@
* limitations under the License.
*/

-#define WHD_VERSION "v1.94.0"
+/* This define is used by arduino::WiFiClass::firmwareVersion() do not prepend v */
+#define WHD_VERSION "1.94.0"
#define WHD_BRANCH "v1.94.0"
#define WHD_DATE "2021-04-27 16:54:34 +0800"
--
2.47.2