- reduced debug messages

git-svn-id: http://moon:8086/svn/software/trunk/projects/GnuRadio@410 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2019-01-11 17:15:47 +00:00
parent 9ae1cbddbc
commit 804b1cbfa0
+6
View File
@@ -25,6 +25,8 @@
#include <gnuradio/io_signature.h>
#include "preamble_sync_impl.h"
#define WITH_DEBUG_MESSAGES 0
namespace gr
{
namespace jay
@@ -83,7 +85,9 @@ int preamble_sync_impl::general_work (int noutput_items, gr_vector_int &ninput_i
m_state = PreambleSlow;
m_wordCount = 0;
m_dataCount = 0;
#if WITH_DEBUG_MESSAGES
fprintf(stderr, "Reset\n");
#endif
}
continue;
}
@@ -194,7 +198,9 @@ int preamble_sync_impl::general_work (int noutput_items, gr_vector_int &ninput_i
}
if (m_state != m_stateNext)
{
#if WITH_DEBUG_MESSAGES
fprintf(stderr, "State changed: %s => %s\n", stateNames[m_state], stateNames[m_stateNext]);
#endif
}
m_wordCount = m_wordSize - 1;
m_state = m_stateNext;