removed thread as well

This commit is contained in:
ishak jmilou.ishak
2025-01-08 13:29:43 +01:00
parent a979d15a6e
commit b12e4c7539

View File

@@ -32,13 +32,13 @@ void setup() {
client.connect(); client.connect();
client.subscribe("home/commands"); client.subscribe("home/commands");
std::thread monitorThread(monitorKobukiConnection); // std::thread monitorThread(monitorKobukiConnection);
monitorThread.detach(); // monitorThread.detach();
} }
int main() { int main() {
setup(); setup();
reconnectKobuki(); // reconnectKobuki();
std::thread connectionMonitor(monitorKobukiConnection); std::thread connectionMonitor(monitorKobukiConnection);
std::thread image(CapnSend); std::thread image(CapnSend);