mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2026-04-18 22:32:44 +00:00
disable debugging options for dragonlabs source
This commit is contained in:
@@ -7,8 +7,11 @@
|
|||||||
#include <utils/optionlist.h>
|
#include <utils/optionlist.h>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <dlcr.h>
|
#include <dlcr.h>
|
||||||
|
|
||||||
|
#ifdef DRAGONLABS_SOURCE_ENABLE_DEBUG
|
||||||
#include <dlcr_internal.h>
|
#include <dlcr_internal.h>
|
||||||
#include <lmx2572.h>
|
#include <lmx2572.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
SDRPP_MOD_INFO{
|
SDRPP_MOD_INFO{
|
||||||
/* Name: */ "dragonlabs_source",
|
/* Name: */ "dragonlabs_source",
|
||||||
@@ -261,6 +264,7 @@ private:
|
|||||||
// TODO: Save
|
// TODO: Save
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef DRAGONLABS_SOURCE_ENABLE_DEBUG
|
||||||
SmGui::Checkbox(CONCAT("Debug##_dlcr_debug_", _this->name), &_this->debug);
|
SmGui::Checkbox(CONCAT("Debug##_dlcr_debug_", _this->name), &_this->debug);
|
||||||
|
|
||||||
if (_this->debug) {
|
if (_this->debug) {
|
||||||
@@ -383,6 +387,7 @@ private:
|
|||||||
|
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void callback(dlcr_complex_t* samples[DLCR_CHANNEL_COUNT], size_t count, size_t drops, void* ctx) {
|
static void callback(dlcr_complex_t* samples[DLCR_CHANNEL_COUNT], size_t count, size_t drops, void* ctx) {
|
||||||
|
|||||||
Reference in New Issue
Block a user