[color] enable insta trim on all views (#347)

* [color] enable insta trim on all views

Resolves #342

* Removed warning for colorlcd
This commit is contained in:
Raphael Coeffic
2021-06-27 12:28:42 +02:00
committed by GitHub
parent 1dafc3aacc
commit adde1160b4
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ bool isSwitch2POSWarningStateAvailable(int state);
#endif
#if defined(LIBOPENUI)
#define IS_INSTANT_TRIM_ALLOWED() false
#define IS_INSTANT_TRIM_ALLOWED() true
#elif defined(GUI)
#define IS_INSTANT_TRIM_ALLOWED() (IS_MAIN_VIEW_DISPLAYED() || IS_TELEMETRY_VIEW_DISPLAYED() || IS_OTHER_VIEW_DISPLAYED())
#else