Skip to content

Commit cb2dc79

Browse files
facchinmpennam
authored andcommitted
Patch use NULL pointer to ignore SDIO response
1 parent 62d05bb commit cb2dc79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connectivity/drivers/wifi/COMPONENT_WHD/common/cybsp_wifi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ static cy_rslt_t cybsp_sdio_enumerate(const cyhal_sdio_t* sdio_object)
137137
{
138138
// Send CMD0 to set it to idle state
139139
sdio_try_send_cmd(sdio_object, CYHAL_WRITE, CYHAL_SDIO_CMD_GO_IDLE_STATE, no_argument,
140-
&response_ignored /*ignored*/);
140+
NULL /*ignored*/);
141141

142142
// CMD5.
143143
sdio_try_send_cmd(sdio_object, CYHAL_READ, CYHAL_SDIO_CMD_IO_SEND_OP_COND, no_argument,
144-
&response_ignored /*ignored*/);
144+
NULL /*ignored*/);
145145

146146
// Send CMD3 to get RCA.
147147
result = sdio_try_send_cmd(sdio_object, CYHAL_READ, CYHAL_SDIO_CMD_SEND_RELATIVE_ADDR,

0 commit comments

Comments
 (0)