 
   // Force a transmit on next read
   memset(_previousReads, 0xff, sizeof(_previousReads));
-  resetEstimate();
+  rfResetEstimate();
 }
 
 void loop(void)

      // double the window every N/2 packets lost
      ++_recvLost;
      if (_recvLost > 10)
        resetEstimate();
      else if (_recvLost % 2 == 1 && _recvWindow < MAX_RECV_WIN)
        _recvWindow *= 2;


  }
}

static void rfResetEstimate(void)
{
  _recvCycleAct = RECV_CYCLE_TIME;
  _recvWindow = MAX_RECV_WIN;
