Browse Source

Disable stopping timer for CMT

breaks communication when enabled. Maybe there's another solution or some bug?
pull/1371/head
rejoe2 1 year ago
committed by GitHub
parent
commit
5b3b9ca88e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      src/hms/hmsRadio.h

4
src/hms/hmsRadio.h

@ -163,8 +163,8 @@ class CmtRadio : public Radio {
uint8_t status = mCmt.getRx(p.packet, &p.len, 28, &p.rssi);
if(CMT_SUCCESS == status)
mBufCtrl.push(p);
if(p.packet[9] > ALL_FRAMES) // indicates last frame
mRadioWaitTime.stopTimeMonitor(); // we got everything we expected and can exit rx mode...
//if(p.packet[9] > ALL_FRAMES) // indicates last frame
// mRadioWaitTime.stopTimeMonitor(); // we got everything we expected and can exit rx mode...
//optionally instead: mRadioWaitTime.startTimeMonitor(DURATION_PAUSE_LASTFR); // let the inverter first get back to rx mode?
}

Loading…
Cancel
Save