Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

oops, fixed send logic

  • Loading branch information...
commit e67e2c63da83c280b96902a413e57291cdfe2778 1 parent 8ec0c4f
@jcw authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  examples/RF12/radioBlip2/radioBlip2.ino
View
2  examples/RF12/radioBlip2/radioBlip2.ino
@@ -58,6 +58,8 @@ static byte sendPayload () {
++payload.ping;
rf12_sleep(RF12_WAKEUP);
+ while (!rf12_canSend())
+ rf12_recvDone();
rf12_sendStart(0, &payload, sizeof payload);
rf12_sendWait(SEND_MODE);
rf12_sleep(RF12_SLEEP);
Please sign in to comment.
Something went wrong with that request. Please try again.