summaryrefslogtreecommitdiff
path: root/cesar/bsu/src
diff options
context:
space:
mode:
authorNélio Laranjeiro2011-01-13 10:54:47 +0100
committerNélio Laranjeiro2011-01-18 18:36:57 +0100
commit7c8f4653d487c51c9f6f9f159f6573586f57171e (patch)
treea147d2badb60aaf4aae936aaee0eb132218e1af6 /cesar/bsu/src
parentae32e5f3766fc16db83ffa3e6940c0bc4ea237c0 (diff)
cesar/{bsu,cp/beacon}: update SPOC only if frequency error is valid, refs #2187
Diffstat (limited to 'cesar/bsu/src')
-rw-r--r--cesar/bsu/src/bsu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cesar/bsu/src/bsu.c b/cesar/bsu/src/bsu.c
index e8d80d99bc..64c0448f33 100644
--- a/cesar/bsu/src/bsu.c
+++ b/cesar/bsu/src/bsu.c
@@ -903,6 +903,8 @@ bsu_beacon_process (bsu_t *ctx, pb_beacon_t *beacon,
bsu_beacon->params.frequency_error =
FIXED (avln->sync.fe, BSU_NTB_FIXED_POINT);
bsu_beacon->params.ntb_offset_tck = avln->sync.ntb_offset_tck;
+ bsu_beacon->params.frequency_error_valid =
+ avln->sync.second_shoot;
}
}
else