mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 09:16:01 +03:00
0.5Hz cutoff
This commit is contained in:
parent
862cc944cc
commit
a810e66f3d
1 changed files with 1 additions and 1 deletions
|
@ -1894,7 +1894,7 @@ static bool osdDrawSingleElement(uint8_t item)
|
|||
{
|
||||
static pt1Filter_t snrFilterState;
|
||||
static timeMs_t snrUpdated = 0;
|
||||
int16_t snrFiltered = pt1FilterApply4(&snrFilterState, rxLinkStatistics.uplinkSNR, 1, MS2S(millis() - snrUpdated));
|
||||
int8_t snrFiltered = pt1FilterApply4(&snrFilterState, rxLinkStatistics.uplinkSNR, 0.5f, MS2S(millis() - snrUpdated));
|
||||
snrUpdated = millis();
|
||||
|
||||
const char* showsnr = "-20";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue