* updated heuristic #1080 #1259
* fix compile opendtufusion fusion ethernet
This commit is contained in:
lumapu 2023-12-09 17:09:05 +01:00
parent 4afd63184d
commit 240be8cd98
5 changed files with 83 additions and 66 deletions

View file

@ -13,12 +13,17 @@
class HeuristicInv {
public:
int8_t txRfQuality[5]; // heuristics tx quality (check 'Heuristics.h')
uint8_t txRfChId; // RF TX channel id
HeuristicInv() {
memset(txRfQuality, -6, RF_MAX_CHANNEL_ID);
}
bool testEn = false;
uint8_t testIdx = 0;
int8_t storedIdx = RF_NA;
public:
int8_t txRfQuality[RF_MAX_CHANNEL_ID]; // heuristics tx quality (check 'Heuristics.h')
uint8_t txRfChId = 0; // RF TX channel id
uint8_t testPeriodSendCnt = 0;
uint8_t testPeriodFailCnt = 0;
uint8_t testChId = 0;
};
#endif /*__HEURISTIC_INV_H__*/