From 2ef50126b1df58b917ab0984db63f097f982425a Mon Sep 17 00:00:00 2001 From: Nicolas Rabault Date: Mon, 17 Apr 2023 14:06:19 +0200 Subject: [PATCH] Fix double detection process occurring at the same time, fix #229 --- engine/core/src/luos_engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/core/src/luos_engine.c b/engine/core/src/luos_engine.c index 307106115..79589e69a 100644 --- a/engine/core/src/luos_engine.c +++ b/engine/core/src/luos_engine.c @@ -172,12 +172,12 @@ void Luos_Loop(void) if (Flag_DetectServices == 1) { + Flag_DetectServices = 0; // Set the detection launcher id to 1 detection_service->id = 1; // Generate the filters Service_GenerateId(1); RoutingTB_DetectServices(detection_service); - Flag_DetectServices = 0; } } /******************************************************************************