From 3626f913c242644c40c96b3f5e0284f65f94bb07 Mon Sep 17 00:00:00 2001 From: Bastian Bloessl Date: Fri, 22 Nov 2013 18:22:47 +0100 Subject: [PATCH] bug: assignment should be a comparison --- lib/ofdm_sync_long.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ofdm_sync_long.cc b/lib/ofdm_sync_long.cc index 0f53137..7b84cb4 100644 --- a/lib/ofdm_sync_long.cc +++ b/lib/ofdm_sync_long.cc @@ -214,7 +214,7 @@ void search_frame_start() { // TODO: check if these offsets make sense } else if(diff == 63) { d_frame_start = max(get<1>(vec[i]), get<1>(vec[k])) + 63; - } else if(diff = 65) { + } else if(diff == 65) { d_frame_start = max(get<1>(vec[i]), get<1>(vec[k])) + 64; } }