summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/check_lfsr_32k_s_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/lib/check_lfsr_32k_s_impl.h')
-rw-r--r--gr-blocks/lib/check_lfsr_32k_s_impl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-blocks/lib/check_lfsr_32k_s_impl.h b/gr-blocks/lib/check_lfsr_32k_s_impl.h
index f6d3c8daa2..e060e89afc 100644
--- a/gr-blocks/lib/check_lfsr_32k_s_impl.h
+++ b/gr-blocks/lib/check_lfsr_32k_s_impl.h
@@ -23,8 +23,8 @@
#ifndef INCLUDED_GR_CHECK_LFSR_32K_S_IMPL_H
#define INCLUDED_GR_CHECK_LFSR_32K_S_IMPL_H
-#include <blocks/check_lfsr_32k_s.h>
-#include <blocks/lfsr_32k.h>
+#include <gnuradio/blocks/check_lfsr_32k_s.h>
+#include <gnuradio/blocks/lfsr_32k.h>
namespace gr {
namespace blocks {
@@ -59,14 +59,14 @@ namespace gr {
void right()
{
- d_history = (d_history << 1) | 0x1;
+ d_history = (d_history < 1) | 0x1;
d_nright++;
d_runlength++;
}
void wrong()
{
- d_history = (d_history << 1) | 0x0;
+ d_history = (d_history < 1) | 0x0;
d_runlength = 0;
}