forked from arduino/ArduinoCore-mbed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0082-Fix-cast-error-in-WHD.patch
25 lines (20 loc) · 1.19 KB
/
0082-Fix-cast-error-in-WHD.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From e556ca3c1e60ad54122cb7dbfaf84d908bc226b1 Mon Sep 17 00:00:00 2001
From: giulcioffi <g.cioffi@arduino.cc>
Date: Fri, 17 Sep 2021 17:04:41 +0200
Subject: [PATCH 082/204] Fix cast error in WHD
---
.../wifi-host-driver/src/bus_protocols/whd_bus_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/connectivity/drivers/wifi/COMPONENT_WHD/wifi-host-driver/src/bus_protocols/whd_bus_common.c b/connectivity/drivers/wifi/COMPONENT_WHD/wifi-host-driver/src/bus_protocols/whd_bus_common.c
index 4eacf4869a..48c401a0a0 100755
--- a/connectivity/drivers/wifi/COMPONENT_WHD/wifi-host-driver/src/bus_protocols/whd_bus_common.c
+++ b/connectivity/drivers/wifi/COMPONENT_WHD/wifi-host-driver/src/bus_protocols/whd_bus_common.c
@@ -179,7 +179,7 @@ static whd_result_t whd_bus_common_download_resource(whd_driver_t whd_driver, wh
uint32_t tmp;
/* verify reset instruction value */
- result = whd_bus_read_backplane_value(whd_driver, 0, sizeof(tmp), (uint8_t *)&tmp);
+ result = whd_bus_read_backplane_value(whd_driver, 0, sizeof(tmp), (uint32_t *)&tmp);
if ( (result == WHD_SUCCESS) && (tmp != reset_instr) )
{
--
2.39.1