diff options
-rw-r--r-- | gr-blocks/lib/check_lfsr_32k_s_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-blocks/lib/check_lfsr_32k_s_impl.h b/gr-blocks/lib/check_lfsr_32k_s_impl.h index e060e89afc..2d0da21fcf 100644 --- a/gr-blocks/lib/check_lfsr_32k_s_impl.h +++ b/gr-blocks/lib/check_lfsr_32k_s_impl.h @@ -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; } |