Do not display disabled trim on main views (#5962)
* Proof of concept * Add Horus * Better implementation * AVR compilation fix
This commit is contained in:
@@ -105,6 +105,11 @@ void displayTrims(uint8_t phase)
|
||||
uint8_t att = ROUND;
|
||||
int16_t val = getTrimValue(phase, i);
|
||||
|
||||
#if defined(CPUARM)
|
||||
if(getRawTrimValue(phase, i).mode == TRIM_MODE_NONE)
|
||||
continue;
|
||||
#endif
|
||||
|
||||
#if !defined(CPUM64) || !defined(TELEMETRY_FRSKY)
|
||||
int16_t dir = val;
|
||||
bool exttrim = false;
|
||||
|
||||
Reference in New Issue
Block a user