aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/fl2k_ampliphase.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f4ec556..47fc40a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -83,6 +83,7 @@ target_link_libraries(fl2k_ampliphase libosmo-fl2k_shared
${CMAKE_THREAD_LIBS_INIT}
)
+set(CMAKE_BUILD_TYPE Debug)
if(UNIX)
target_link_libraries(fl2k_ampliphase m)
diff --git a/src/fl2k_ampliphase.c b/src/fl2k_ampliphase.c
index 5c50391..7167ba7 100644
--- a/src/fl2k_ampliphase.c
+++ b/src/fl2k_ampliphase.c
@@ -238,6 +238,7 @@ dds_t dds_init(float sample_freq, float freq, float phase, float amp, enum wavef
}
+
static inline void dds_complex(dds_t *dds, int8_t * i, int8_t * q)
{
int phase_idx_i, phase_idx_q;