aboutsummaryrefslogtreecommitdiffstats
path: root/src/EtiReader.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-22 01:27:09 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-22 01:27:15 +0100
commit13f2ea125bf1a8eab649fec7a657b3ec98b61e63 (patch)
treec26d9623c08506f70e7c321761fa857cf3623f87 /src/EtiReader.cpp
parenta44ccd8d6419ae1abed753a48125cc57d9d9bb6d (diff)
downloaddabmod-13f2ea125bf1a8eab649fec7a657b3ec98b61e63.tar.gz
dabmod-13f2ea125bf1a8eab649fec7a657b3ec98b61e63.tar.bz2
dabmod-13f2ea125bf1a8eab649fec7a657b3ec98b61e63.zip
Make EDI input optional
Diffstat (limited to 'src/EtiReader.cpp')
-rw-r--r--src/EtiReader.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/EtiReader.cpp b/src/EtiReader.cpp
index 17f4953..a28deb2 100644
--- a/src/EtiReader.cpp
+++ b/src/EtiReader.cpp
@@ -2,7 +2,7 @@
Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Her Majesty
the Queen in Right of Canada (Communications Research Center Canada)
- Copyright (C) 2017
+ Copyright (C) 2018
Matthias P. Braendli, matthias.braendli@mpb.li
http://opendigitalradio.org
@@ -304,6 +304,7 @@ uint32_t EtiReader::getPPSOffset()
return timestamp;
}
+#ifdef HAVE_EDI
EdiReader::EdiReader(
double& tist_offset_s) :
m_timestamp_decoder(tist_offset_s)
@@ -569,4 +570,4 @@ bool EdiUdpInput::rxPacket()
return false;
}
}
-
+#endif // HAVE_EDI