Skip to content
Commit 15a1b6d5 authored by John Johnson's avatar John Johnson Committed by Alberto Escolar
Browse files

drivers: esp_at: make esp_pull_quoted() to only return -EAGAIN



If no " character is found in buffer by esp_pull_quoted() it
returns -EAGAIN which causes a loop that never ends. This is because
the buffer dont get filled up with new data so no " chrachter will be
found. This commit changes esp_pull_quoted() to only return -EAGAIN,
so the buffer can get filled with new data and thus the loop can come
to an end.

Signed-off-by: default avatarJohn Johnson <john.filip.johnson@gmail.com>
parent 6257576c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment