[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
-3
View File
@@ -178,9 +178,6 @@ void evalFunctions(const CustomFunctionData * functions, CustomFunctionsContext
case FUNC_INSTANT_TRIM:
newActiveFunctions |= (1u << FUNCTION_INSTANT_TRIM);
if (!isFunctionActive(FUNCTION_INSTANT_TRIM)) {
#if defined(COLORLCD)
#warning IS_INSTANT_TRIM_ALLOWED() is always false
#endif
if (IS_INSTANT_TRIM_ALLOWED()) {
instantTrim();
}