From b40ca2b57360c1e2e7e84d4cfabc7092cdea0f8f Mon Sep 17 00:00:00 2001 From: Ewoud Date: Tue, 15 Apr 2025 14:57:53 +0200 Subject: [PATCH] Update ModuleAnimations.h Change execute to executeAsTask --- src/custom/ModuleAnimations.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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