Merge pull request #217 from kareltucek/empty_macro_fix

Fix play of empty macro
This commit is contained in:
László Monda
2019-04-01 13:14:50 +02:00
committed by GitHub

View File

@@ -401,6 +401,9 @@ bool processCurrentMacroAction(void)
void Macros_StartMacro(uint8_t index)
{
if(AllMacros[index].macroActionsCount == 0) {
return;
}
MacroPlaying = true;
currentMacroIndex = index;
currentMacroActionIndex = 0;