From b0fd24476dc7ad6619ede40dc6d6e3e6f6bcfd2e Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Mon, 22 Nov 2021 19:38:56 +0100 Subject: [PATCH] Fix formatting --- src/algorithms/PVT/libs/CMakeLists.txt | 2 +- src/core/receiver/CMakeLists.txt | 2 +- src/core/receiver/control_thread.cc | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/algorithms/PVT/libs/CMakeLists.txt b/src/algorithms/PVT/libs/CMakeLists.txt index 9d1e8af04..9af6b61c2 100644 --- a/src/algorithms/PVT/libs/CMakeLists.txt +++ b/src/algorithms/PVT/libs/CMakeLists.txt @@ -78,7 +78,7 @@ endif() if(CMAKE_ANDROID_ARCH_ABI) target_compile_definitions(pvt_libs PUBLIC -DANDROID=1) -endif(CMAKE_ANDROID_ARCH_ABI) +endif() target_link_libraries(pvt_libs PUBLIC diff --git a/src/core/receiver/CMakeLists.txt b/src/core/receiver/CMakeLists.txt index 86d886dd9..8e291a872 100644 --- a/src/core/receiver/CMakeLists.txt +++ b/src/core/receiver/CMakeLists.txt @@ -64,7 +64,7 @@ endif() if(CMAKE_ANDROID_ARCH_ABI) target_compile_definitions(core_receiver PUBLIC -DANDROID=1) -endif(CMAKE_ANDROID_ARCH_ABI) +endif() if(ENABLE_FPGA) target_compile_definitions(core_receiver PUBLIC -DENABLE_FPGA=1) diff --git a/src/core/receiver/control_thread.cc b/src/core/receiver/control_thread.cc index d34b79c9a..cac176f7f 100644 --- a/src/core/receiver/control_thread.cc +++ b/src/core/receiver/control_thread.cc @@ -421,7 +421,7 @@ int ControlThread::run() #ifndef ANDROID pthread_cancel(id); #else - //todo: find alternative + // todo: find alternative #endif } @@ -430,12 +430,12 @@ int ControlThread::run() { pthread_t id2 = cmd_interface_thread_.native_handle(); cmd_interface_thread_.detach(); -#ifndef ANDROID +#ifndef ANDROID pthread_cancel(id2); #else - //todo: find alternative -#endif - } + // todo: find alternative +#endif + } LOG(INFO) << "Flowgraph stopped";