mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Link Quality without Aux
fix indent , move unused remove premature optimisation Use prior code for osd element calc unit test add crsf for scaleCrsfLq unittest typo rx 0-100 elements simplify osdElementLinkQuality refactor share one 16 bit var
This commit is contained in:
parent
7cd030559d
commit
e9a406f447
11 changed files with 642 additions and 24 deletions
|
@ -81,6 +81,7 @@ extern "C" {
|
|||
float motorOutputHigh = 2047;
|
||||
float motorOutputLow = 1000;
|
||||
|
||||
linkQualitySource_e linkQualitySource;
|
||||
|
||||
acc_t acc;
|
||||
float accAverage[XYZ_AXIS_COUNT];
|
||||
|
@ -1099,7 +1100,7 @@ extern "C" {
|
|||
|
||||
uint8_t getRssiPercent(void) { return scaleRange(rssi, 0, RSSI_MAX_VALUE, 0, 100); }
|
||||
|
||||
uint8_t rxGetLinkQuality(void) { return LINK_QUALITY_MAX_VALUE; }
|
||||
uint16_t rxGetLinkQuality(void) { return LINK_QUALITY_MAX_VALUE; }
|
||||
|
||||
uint16_t getCoreTemperatureCelsius(void) { return simulationCoreTemperature; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue