aboutsummaryrefslogtreecommitdiffstats
path: root/src/anetz
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/anetz
parent3c0bcce97b96b715e7e1d5ffff6f336989bac2c7 (diff)
Move mobile phone specific code from libcommon.a to libmobile.a
Diffstat (limited to 'src/anetz')
-rw-r--r--src/anetz/Makefile.am1
-rw-r--r--src/anetz/main.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/anetz/Makefile.am b/src/anetz/Makefile.am
index f78232d..29307e5 100644
--- a/src/anetz/Makefile.am
+++ b/src/anetz/Makefile.am
@@ -13,6 +13,7 @@ anetz_SOURCES = \
main.c
anetz_LDADD = \
$(COMMON_LA) \
+ $(top_builddir)/src/common/libmobile.a \
$(top_builddir)/src/common/libcommon.a \
$(ALSA_LIBS) \
$(UHD_LIBS) \
diff --git a/src/anetz/main.c b/src/anetz/main.c
index 4e00fe9..43b55e6 100644
--- a/src/anetz/main.c
+++ b/src/anetz/main.c
@@ -24,7 +24,7 @@
#include <string.h>
#include <math.h>
#include "../common/sample.h"
-#include "../common/main.h"
+#include "../common/main_mobile.h"
#include "../common/debug.h"
#include "../common/timer.h"
#include "../common/call.h"
@@ -185,7 +185,7 @@ int main(int argc, char *argv[])
printf("Base station on channel %d ready, please tune transmitter to %.3f MHz and receiver to %.3f MHz.\n", kanal[i], anetz_kanal2freq(kanal[i], 0) / 1e6, anetz_kanal2freq(kanal[i], 1) / 1e6);
}
- main_common(&quit, latency, interval, NULL, station_id, 5);
+ main_mobile(&quit, latency, interval, NULL, station_id, 5);
fail:
/* destroy transceiver instance */