diff --git a/src/custom/ModuleAnimations.h b/src/custom/ModuleAnimations.h index 6951ff6aa..a826777fd 100644 --- a/src/custom/ModuleAnimations.h +++ b/src/custom/ModuleAnimations.h @@ -387,7 +387,7 @@ class ModuleAnimations : public Module ESP_LOGD(TAG, "addExe success %s\n", executable.exeExist?"true":"false"); if (executable.exeExist) - executable.execute("main"); //background task (async - vs sync) + executable.executeAsTask("main"); //background task (async - vs sync) else ESP_LOGD(TAG, "error %s", executable.error.error_message.c_str()); @@ -417,4 +417,4 @@ class ModuleAnimations : public Module }; // class ModuleAnimations #endif -#endif \ No newline at end of file +#endif