From 9f3045f773911d44d8e27cc625993eb689f55d64 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 15 Aug 2015 15:16:43 +0200 Subject: Don't compile FIG0/19 debugging --- src/fig/FIG0.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3