fix(radio): GV calculation and menu navigation in weight/offset/expo fields (#5564)
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ int32_t getSourceNumFieldValue(int16_t val, int16_t min, int16_t max)
|
||||
SourceNumVal v; v.rawValue = val;
|
||||
if (v.isSource) {
|
||||
result = getValue(v.value);
|
||||
if (v.value >= MIXSRC_FIRST_GVAR && v.value <= MIXSRC_LAST_GVAR) {
|
||||
if (abs(v.value) >= MIXSRC_FIRST_GVAR && v.value <= MIXSRC_LAST_GVAR) {
|
||||
// Mimic behviour of GET_GVAR_PREC1
|
||||
result = result * 10;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user