We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a6c550 commit b64df41Copy full SHA for b64df41
src/utility/STM32Cube_FW/shci_tl.c
@@ -21,8 +21,6 @@
21
/* Includes ------------------------------------------------------------------*/
22
#include "stm32_wpan_common.h"
23
24
-#include <Arduino.h>
25
-
26
#include "stm_list.h"
27
#include "shci_tl.h"
28
#include "stm32_def.h"
@@ -325,12 +323,11 @@ static void OutputEvtTrace(TL_EvtPacket_t *phcievtbuffer)
325
323
/* Weak implementation ----------------------------------------------------------------*/
326
324
__WEAK void shci_cmd_resp_wait(uint32_t timeout)
327
{
+ (void)timeout;
+
328
CmdRspStatusFlag = SHCI_TL_CMD_RESP_WAIT;
329
- for (unsigned long start = millis(); (millis() - start) < timeout;) {
330
- if (CmdRspStatusFlag == SHCI_TL_CMD_RESP_RELEASE) {
331
- break;
332
- }
333
+ while (CmdRspStatusFlag != SHCI_TL_CMD_RESP_RELEASE);
334
return;
335
}
336
0 commit comments