mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-25 01:05:08 +03:00
Fix #6548
This commit is contained in:
parent
79f253e0e5
commit
5b516b8287
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class TelemetryFilterDecorator: public T {
|
|||
uint8_t values[TELEMETRY_AVERAGE_COUNT];
|
||||
void set(uint8_t value)
|
||||
{
|
||||
if (this->value == 0) {
|
||||
if (this->value == 0 || value == 0) {
|
||||
memset(values, value, TELEMETRY_AVERAGE_COUNT);
|
||||
this->value = value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue