@ -122,8 +122,11 @@ class HmRadio : public Radio {
uint32_tstartMicros=micros();
uint32_tstartMicros=micros();
uint32_tloopMillis=millis();
uint32_tloopMillis=millis();
//mRxChIdx = mRxChannels - 2; // ensure, we start receiving with first relative channel....
//mRxChIdx = mRxChannels - 2; // ensure, we start receiving with first relative channel....
if(!mLastIv->mGotFragment)
//if(mLastIv->mGotFragment)
mRxChIdx=mLastIv->mRxChanIdx;//(mLastIv->mRxChanIdx + RF_MAX_CHANNEL_ID -1) % RF_MAX_CHANNEL_ID; // make sure, we start with last successfull channel (result will be increased in loop)
mRxChIdx=mLastIv->mRxChanIdx-1;// do not bother if that get's very high, will in this case effectively be 0 before rx chan is set
//else
// mRxChIdx--;
//(mLastIv->mRxChanIdx + RF_MAX_CHANNEL_ID -1) % RF_MAX_CHANNEL_ID; // make sure, we start with last successfull channel (result will be increased in loop)
//mRxChannels - 1; //
//mRxChannels - 1; //
//(mTxChIdx + mRxChannels) % RF_MAX_CHANNEL_ID; // start with a fixed offset
//(mTxChIdx + mRxChannels) % RF_MAX_CHANNEL_ID; // start with a fixed offset