fix: do not display trims on main view when trim set as 3POS/NONE (#4777)

This commit is contained in:
3djc
2024-03-22 20:52:24 +10:00
committed by GitHub
parent 91630a02f7
commit 49c1cb8b73
3 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ void displayTrims(uint8_t phase)
uint8_t att = ROUND;
int16_t val = getTrimValue(phase, i);
if (getRawTrimValue(phase, i).mode == TRIM_MODE_NONE)
if (getRawTrimValue(phase, i).mode == TRIM_MODE_NONE || getRawTrimValue(phase, i).mode == TRIM_MODE_3POS)
continue;
int16_t dir = val;