-
-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added class to combine inverter heuristics fields #1258
- Loading branch information
Showing
8 changed files
with
75 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
//----------------------------------------------------------------------------- | ||
// 2023 Ahoy, https://github.com/lumpapu/ahoy | ||
// Creative Commons - http://creativecommons.org/licenses/by-nc-sa/4.0/deed | ||
//----------------------------------------------------------------------------- | ||
|
||
#ifndef __HEURISTIC_INV_H__ | ||
#define __HEURISTIC_INV_H__ | ||
|
||
#define RF_MAX_CHANNEL_ID 5 | ||
#define RF_MAX_QUALITY 4 | ||
#define RF_MIN_QUALTIY -6 | ||
#define RF_NA -99 | ||
|
||
class HeuristicInv { | ||
public: | ||
int8_t txRfQuality[5]; // heuristics tx quality (check 'Heuristics.h') | ||
uint8_t txRfChId; // RF TX channel id | ||
|
||
bool testEn = false; | ||
uint8_t testIdx = 0; | ||
int8_t storedIdx = RF_NA; | ||
}; | ||
|
||
#endif /*__HEURISTIC_INV_H__*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters