mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-02-11 11:30:51 +00:00
Don't try to get new data while still processing previous data.
This commit is contained in:
parent
9a8ba804bc
commit
d059cf858a
@ -26,6 +26,10 @@ void error_exit(void)
|
||||
|
||||
void udp_recv(void)
|
||||
{
|
||||
if (len)
|
||||
{
|
||||
return;
|
||||
}
|
||||
len = udp_recv_len();
|
||||
src = udp_recv_src();
|
||||
memcpy(buf, udp_recv_buf, len);
|
||||
|
Loading…
x
Reference in New Issue
Block a user