aboutsummaryrefslogtreecommitdiffstats
path: root/src/amps
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-11-13 20:00:52 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2017-11-13 20:00:52 +0100
commitb605da1aff81c2688bf43dfa50c4ea3e5b89b722 (patch)
treeabbdc62c6b01c13cfcbd8d58154c956212a7e7d1 /src/amps
parent1b183864bb0dc135838cded1a3f31594979e837f (diff)
Restructure: Move timer from common code to 'libtimer'
Diffstat (limited to 'src/amps')
-rw-r--r--src/amps/Makefile.am1
-rw-r--r--src/amps/amps.c1
-rw-r--r--src/amps/amps.h1
-rw-r--r--src/amps/amps_tacs_main.c1
-rw-r--r--src/amps/dsp.c1
-rw-r--r--src/amps/frame.c1
-rw-r--r--src/amps/sysinfo.c1
-rw-r--r--src/amps/transaction.c1
8 files changed, 2 insertions, 6 deletions
diff --git a/src/amps/Makefile.am b/src/amps/Makefile.am
index 390a69e..f37c5ff 100644
--- a/src/amps/Makefile.am
+++ b/src/amps/Makefile.am
@@ -28,6 +28,7 @@ amps_LDADD = \
libamps.a \
$(top_builddir)/src/common/libmobile.a \
$(top_builddir)/src/common/libcommon.a \
+ $(top_builddir)/src/libtimer/libtimer.a \
$(top_builddir)/src/libsamplerate/libsamplerate.a \
$(top_builddir)/src/libfilter/libfilter.a \
$(ALSA_LIBS) \
diff --git a/src/amps/amps.c b/src/amps/amps.c
index 3115469..358163f 100644
--- a/src/amps/amps.c
+++ b/src/amps/amps.c
@@ -44,7 +44,6 @@
#include <errno.h>
#include "../common/sample.h"
#include "../common/debug.h"
-#include "../common/timer.h"
#include "../common/call.h"
#include "../common/cause.h"
#include "amps.h"
diff --git a/src/amps/amps.h b/src/amps/amps.h
index d909208..390ec84 100644
--- a/src/amps/amps.h
+++ b/src/amps/amps.h
@@ -1,5 +1,6 @@
#include "../common/goertzel.h"
#include "../common/sender.h"
+#include "../libtimer/timer.h"
#include "../common/compandor.h"
#include "sysinfo.h"
#include "transaction.h"
diff --git a/src/amps/amps_tacs_main.c b/src/amps/amps_tacs_main.c
index cd65a98..2104d25 100644
--- a/src/amps/amps_tacs_main.c
+++ b/src/amps/amps_tacs_main.c
@@ -25,7 +25,6 @@
#include "../common/sample.h"
#include "../common/main_mobile.h"
#include "../common/debug.h"
-#include "../common/timer.h"
#include "../common/call.h"
#include "../common/mncc_sock.h"
#include "amps.h"
diff --git a/src/amps/dsp.c b/src/amps/dsp.c
index 27575f7..479daea 100644
--- a/src/amps/dsp.c
+++ b/src/amps/dsp.c
@@ -83,7 +83,6 @@
#include <math.h>
#include "../common/sample.h"
#include "../common/debug.h"
-#include "../common/timer.h"
#include "../common/call.h"
#include "amps.h"
#include "frame.h"
diff --git a/src/amps/frame.c b/src/amps/frame.c
index 983649b..efaf4cf 100644
--- a/src/amps/frame.c
+++ b/src/amps/frame.c
@@ -28,7 +28,6 @@
#include <inttypes.h>
#include "../common/sample.h"
#include "../common/debug.h"
-#include "../common/timer.h"
#include "amps.h"
#include "dsp.h"
#include "frame.h"
diff --git a/src/amps/sysinfo.c b/src/amps/sysinfo.c
index 8b99f30..767ea13 100644
--- a/src/amps/sysinfo.c
+++ b/src/amps/sysinfo.c
@@ -4,7 +4,6 @@
#include <stdlib.h>
#include <time.h>
#include "../common/sample.h"
-#include "../common/timer.h"
#include "amps.h"
#include "frame.h"
#include "main.h"
diff --git a/src/amps/transaction.c b/src/amps/transaction.c
index 6b6add5..5491d88 100644
--- a/src/amps/transaction.c
+++ b/src/amps/transaction.c
@@ -22,7 +22,6 @@
#include <stdlib.h>
#include "../common/sample.h"
#include "../common/debug.h"
-#include "../common/timer.h"
#include "../common/call.h"
#include "../common/cause.h"
#include "amps.h"