From 6fa945333cfaee19328ef7118439074ec42fd653 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sun, 22 Mar 2026 20:03:41 -0400 Subject: [PATCH] disable debugging options for dragonlabs source --- source_modules/dragonlabs_source/src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source_modules/dragonlabs_source/src/main.cpp b/source_modules/dragonlabs_source/src/main.cpp index 1a528a6d..3619cf8d 100644 --- a/source_modules/dragonlabs_source/src/main.cpp +++ b/source_modules/dragonlabs_source/src/main.cpp @@ -7,8 +7,11 @@ #include #include #include + +#ifdef DRAGONLABS_SOURCE_ENABLE_DEBUG #include #include +#endif SDRPP_MOD_INFO{ /* Name: */ "dragonlabs_source", @@ -261,6 +264,7 @@ private: // TODO: Save } +#ifdef DRAGONLABS_SOURCE_ENABLE_DEBUG SmGui::Checkbox(CONCAT("Debug##_dlcr_debug_", _this->name), &_this->debug); if (_this->debug) { @@ -383,6 +387,7 @@ private: ImGui::Separator(); } +#endif } static void callback(dlcr_complex_t* samples[DLCR_CHANNEL_COUNT], size_t count, size_t drops, void* ctx) {