From 88046aba9e12b7872260b23026d250e3b9951a32 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Mon, 13 May 2024 05:20:00 -0700 Subject: [PATCH] formatting --- Controller.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Controller.cpp b/Controller.cpp index 1865ee9..3779131 100644 --- a/Controller.cpp +++ b/Controller.cpp @@ -250,6 +250,8 @@ void CController::ReadReflectorThread() { while (keep_running) { + tcClient.CheckConnections(); + std::queue> queue; // wait up to 100 ms to read something on the unix port if (tcClient.Receive(queue, 100)) @@ -266,11 +268,11 @@ void CController::ReadReflectorThread() dstar_device->AddPacket(packet); break; case ECodecType::dmr: - #ifdef USE_SW_AMBE2 +#ifdef USE_SW_AMBE2 swambe2_queue.push(packet); - #else +#else dmrsf_device->AddPacket(packet); - #endif +#endif break; case ECodecType::p25: imbe_queue.push(packet);