aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-15 15:16:43 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-15 15:16:43 +0200
commit9f3045f773911d44d8e27cc625993eb689f55d64 (patch)
tree9b4bddac025c6bc49f231e6cd474972feb03a98d /src
parentd20b9a0c8f90fbc373dbd5757b5c6a03bbfd8c83 (diff)
downloaddabmux-9f3045f773911d44d8e27cc625993eb689f55d64.tar.gz
dabmux-9f3045f773911d44d8e27cc625993eb689f55d64.tar.bz2
dabmux-9f3045f773911d44d8e27cc625993eb689f55d64.zip
Don't compile FIG0/19 debugging
Diffstat (limited to 'src')
-rw-r--r--src/fig/FIG0.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fig/FIG0.cpp b/src/fig/FIG0.cpp
index 0e8856f..eec09b0 100644
--- a/src/fig/FIG0.cpp
+++ b/src/fig/FIG0.cpp
@@ -1092,6 +1092,7 @@ void FIG0_19::update_state()
// We are called every 24ms, and must timeout after 2s
const int timeout = 2000/24;
+#ifdef DEBUG_FIG0_19
etiLog.level(info) << " FIG0/19 new";
for (const auto& cluster : m_new_announcements) {
etiLog.level(info) << " " << cluster.first->tostring()
@@ -1108,8 +1109,12 @@ void FIG0_19::update_state()
}
etiLog.level(info) << " FIG0/19 in ensemble";
+#endif
+
for (const auto& cluster : ensemble->clusters) {
+#ifdef DEBUG_FIG0_19
etiLog.level(info) << " " << cluster->tostring();
+#endif
if (cluster->is_active()) {
if (m_repeated_announcements.count(cluster) > 0) {
// We are currently announcing this cluster