From 184e723379aa01951834b5edafd96399e239e97f Mon Sep 17 00:00:00 2001 From: "ishak jmilou.ishak" Date: Wed, 8 Jan 2025 13:05:19 +0100 Subject: [PATCH] added new thread --- src/C++/Driver/src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/C++/Driver/src/main.cpp b/src/C++/Driver/src/main.cpp index 8d61bb2..16416b5 100644 --- a/src/C++/Driver/src/main.cpp +++ b/src/C++/Driver/src/main.cpp @@ -31,6 +31,9 @@ void setup() { client.connect(); client.subscribe("home/commands"); + + std::thread monitorThread(monitorKobukiConnection); + monitorThread.detach(); } int main() {