Permalink
Browse files

send_packet_blocking bugfix

  • Loading branch information...
gioblu committed Nov 25, 2017
1 parent dbca2cf commit c74913981f265a0b4e0a75c610280967b13f7dc3
Showing with 1 addition and 3 deletions.
  1. +1 −3 PJON.h
4 PJON.h
@@ -779,9 +779,7 @@ class PJON {
if(state == PJON_ACK) return state;
attempts++;
if(state != PJON_FAIL) strategy.handle_collision();
receive(
(uint32_t)(PJON_MICROS() - time) < strategy.back_off(attempts)
);
receive(strategy.back_off(attempts));
time = PJON_MICROS();
}
return state;

0 comments on commit c749139

Please sign in to comment.