Permalink
Browse files

oops, fixed send logic

  • Loading branch information...
1 parent 8ec0c4f commit e67e2c63da83c280b96902a413e57291cdfe2778 @jcw committed May 17, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 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);

0 comments on commit e67e2c6

Please sign in to comment.