chore: fix some compiler warnings when building firmware (#5453)

This commit is contained in:
philmoz
2024-08-18 11:57:11 +10:00
committed by GitHub
parent ce01091eea
commit 01869444c8
8 changed files with 9 additions and 16 deletions
+2
View File
@@ -157,7 +157,9 @@ void evalFunctions(const CustomFunctionData * functions, CustomFunctionsContext
}
#endif
#if defined(VIDEO_SWITCH)
bool videoEnabled = false;
#endif
for (uint8_t i=0; i<MAX_SPECIAL_FUNCTIONS; i++) {
const CustomFunctionData * cfn = &functions[i];
swsrc_t swtch = CFN_SWITCH(cfn);