Permalink
Browse files

send_packet_blocking recursion detection fix

  • Loading branch information...
gioblu committed May 12, 2018
1 parent 9ce403a commit 220402dcbc6094feee5d7e8f9a59567f0a974ea2
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/PJON.h
@@ -821,7 +821,10 @@ class PJON {
header,
p_id,
requested_port
))) return PJON_FAIL;
))) {
_recursion--;
return PJON_FAIL;
}
state = send_packet((char*)data, length);
if(state == PJON_ACK) {
_recursion--;

0 comments on commit 220402d

Please sign in to comment.