fix(radio): input value may not return to 0 when using the 'x<0' or 'x>0' side options (#6664)
This commit is contained in:
@@ -231,6 +231,8 @@ void applyExpos(int16_t * anas, uint8_t mode, int16_t ovwrIdx, int16_t ovwrValue
|
|||||||
virtualInputsTrims[cur_chn] = -1;
|
virtualInputsTrims[cur_chn] = -1;
|
||||||
// if (srcRaw < 0) v = -v;
|
// if (srcRaw < 0) v = -v;
|
||||||
anas[cur_chn] = v;
|
anas[cur_chn] = v;
|
||||||
|
} else {
|
||||||
|
anas[ed->chn] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user