different tx-offests for 4ch HM

* discord 0.8.6803
* tx+3 for 4ch-HM, tx+2 for other Inverters
This commit is contained in:
rejoe2 2024-01-30 13:32:55 +01:00 committed by GitHub
parent e5ce1f5094
commit bba82d8b3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 76 additions and 27 deletions

View file

@ -14,7 +14,22 @@
class HeuristicInv {
public:
HeuristicInv() {
clear();
}
void clear() {
memset(txRfQuality, 0, RF_MAX_CHANNEL_ID);
txRfChId = 0;
lastBestTxChId = 0;
testPeriodSendCnt = 0;
testPeriodFailCnt = 0;
testChId = 0;
saveOldTestQuality = -6;
lastRxFragments = 0;
}
bool isTxAtMax(void) const {
return (RF_MAX_QUALITY == txRfQuality[txRfChId]);
}
public: