aboutsummaryrefslogtreecommitdiffstats
path: root/src/nmt
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-08-20 08:27:02 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2017-09-01 18:42:49 +0200
commitcff7622f5cd91bbb8e451831ad1e674d42d27c0b (patch)
tree79cb37dc2e39f56b579240ce7f864539423ec6f6 /src/nmt
parent3c0bcce97b96b715e7e1d5ffff6f336989bac2c7 (diff)
Move mobile phone specific code from libcommon.a to libmobile.a
Diffstat (limited to 'src/nmt')
-rw-r--r--src/nmt/Makefile.am1
-rw-r--r--src/nmt/main.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/nmt/Makefile.am b/src/nmt/Makefile.am
index 91d5cff..c19098c 100644
--- a/src/nmt/Makefile.am
+++ b/src/nmt/Makefile.am
@@ -17,6 +17,7 @@ nmt_SOURCES = \
main.c
nmt_LDADD = \
$(COMMON_LA) \
+ $(top_builddir)/src/common/libmobile.a \
$(top_builddir)/src/common/libcommon.a \
$(ALSA_LIBS) \
$(UHD_LIBS) \
diff --git a/src/nmt/main.c b/src/nmt/main.c
index 396f7d0..e0fbadb 100644
--- a/src/nmt/main.c
+++ b/src/nmt/main.c
@@ -27,7 +27,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include "../common/sample.h"
-#include "../common/main.h"
+#include "../common/main_mobile.h"
#include "../common/debug.h"
#include "../common/timer.h"
#include "../common/mncc_sock.h"
@@ -412,7 +412,7 @@ int main(int argc, char *argv[])
nmt_check_channels(nmt_system);
- main_common(&quit, latency, interval, myhandler, station_id, 7);
+ main_mobile(&quit, latency, interval, myhandler, station_id, 7);
fail:
/* fifo */