From 24a26f7bb95c260c0cb140845435aa0d1cc36f44 Mon Sep 17 00:00:00 2001 From: Jochen Vothknecht <jochen3120@gmail.com> Date: Mon, 20 Jun 2022 08:25:57 +0200 Subject: [PATCH] ST: ServiceManager adaptions --- CLC-qthing/device_main.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/CLC-qthing/device_main.cpp b/CLC-qthing/device_main.cpp index 3167fa6..f7b14d6 100644 --- a/CLC-qthing/device_main.cpp +++ b/CLC-qthing/device_main.cpp @@ -57,12 +57,6 @@ void device_main() { mgr = new SiliconTorch::ServiceManager::ServiceManager(); - - // fxCyan = new SiliconTorch::Service::FxCyanF(); - - // fxCyan->start(); - - xSemaphoreGive(mutex000); }); @@ -75,7 +69,7 @@ void device_main() { - + /* SemaphoreHandle_t mutex = xSemaphoreCreateBinary(); @@ -92,6 +86,10 @@ void device_main() { xSemaphoreTake(mutex, portMAX_DELAY); // avoid races with MQTT subscriptions (TODO: do we lock with WLAN atm???) + + */ + + qthing::enable_wifi(); return; -- GitLab