Skip to content

Commit

Permalink
Make consisten text
Browse files Browse the repository at this point in the history
  • Loading branch information
MaJerle committed Dec 27, 2019
1 parent 2844a1d commit 3a84d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp_at_lib/src/esp/esp_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -2242,7 +2242,7 @@ espi_send_msg_to_producer_mbox(esp_msg_t* msg, espr_t (*process_fn)(esp_msg_t *)
if (res == espOK && msg->is_blocking) { /* In case we have blocking request */
uint32_t time;
time = esp_sys_sem_wait(&msg->sem, 0); /* Wait forever for semaphore */
if (time == ESP_SYS_TIMEOUT) { /* If semaphore was not accessed in given time */
if (time == ESP_SYS_TIMEOUT) { /* If semaphore was not accessed within given time */
res = espTIMEOUT; /* Semaphore not released in time */
} else {
res = msg->res; /* Set response status from message response */
Expand Down

0 comments on commit 3a84d68

Please sign in to comment.