Merge pull request #217 from kareltucek/empty_macro_fix
Fix play of empty macro
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user