     }
   }
   /* Start listening again until listening duration is exhausted */
-  if (millis() - _LisTxStartTime <= LIS_TX_DURATION) {
+  if (millis() - _lisTxStartTime <= LIS_TX_DURATION) {
     _lastListenTime = millis();
     state_set(STATE_LISTEN);
     return STATUS_OK;


long _lastIdleTime = 0;
long _lastListenTime = 0;
long _LisTxStartTime = 0;
bool _workDone = false;   /* This flag could be for data collection, retransmission, etc. */

uint8_t _recvBuf[RH_RF69_MAX_MESSAGE_LEN];

  }
  
  /* Set the state machine to STATE_TRANSMIT */
  _lastTransmitTime = millis();
  state_set(STATE_TRANSMIT);
  return STATUS_OK;
}
