summaryrefslogtreecommitdiff
path: root/cesar/bsu
diff options
context:
space:
mode:
authormercadie2010-05-17 09:42:16 +0000
committermercadie2010-05-17 09:42:16 +0000
commit1543c6c9a6d5c834e89d8b01d1a73dd1955f3750 (patch)
tree9a18b3c02a25df45a3cc552bda9cfc9af3149044 /cesar/bsu
parent5fbd16974c2617b42aef6333ecea9fede549f581 (diff)
cesar/{bsu, cp/beacon}: modify phy_date use after merge with git-svn
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7041 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/bsu')
-rw-r--r--cesar/bsu/aclf/src/aclf.c6
-rw-r--r--cesar/bsu/ntb/src/ntb.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/cesar/bsu/aclf/src/aclf.c b/cesar/bsu/aclf/src/aclf.c
index 2655cde640..dde54fa946 100644
--- a/cesar/bsu/aclf/src/aclf.c
+++ b/cesar/bsu/aclf/src/aclf.c
@@ -81,10 +81,10 @@ bsu_aclf_acl_frequency_detection (bsu_aclf_t *ctx)
dbg_assert (ctx->phy);
/* Compute the date until the one it should wait the new zc. It waits a
* little bit more than a 50Hz zero cross. */
- wait_date = phy_date (ctx->phy) + BSU_ACLF_ZC_50HZ_TCK + 1000;
+ wait_date = phy_date () + BSU_ACLF_ZC_50HZ_TCK + 1000;
/* Wait actively on Zero Cross change for 250 000 ticks. */
for (newzc = ctx->date = phy_clock_get_zero_cross_captured_date (ctx->phy);
- less_mod2p32 (phy_date (ctx->phy), wait_date)
+ less_mod2p32 (phy_date (), wait_date)
&& newzc == ctx->date;
newzc = phy_clock_get_zero_cross_captured_date (ctx->phy))
;
@@ -137,7 +137,7 @@ bsu_aclf_ac_compute_beacon_period_start_date (bsu_aclf_t *ctx)
{
dbg_assert (ctx);
uint i;
- u32 now = phy_date (ctx->phy);
+ u32 now = phy_date ();
u32 bts;
int bto;
diff --git a/cesar/bsu/ntb/src/ntb.c b/cesar/bsu/ntb/src/ntb.c
index 7db51c2178..d84cb85cc4 100644
--- a/cesar/bsu/ntb/src/ntb.c
+++ b/cesar/bsu/ntb/src/ntb.c
@@ -70,7 +70,7 @@ bsu_ntb_offset (bsu_ntb_sync_t *ctx, phy_t *phy, double freq_error,
dbg_assert (ctx);
dbg_assert (phy);
/* Get the delay in system ticks. */
- delay_systck = phy_sysdate (phy) - preamble_stadate;
+ delay_systck = phy_sysdate () - preamble_stadate;
if (ctx->init)
{
offset = (s32) (bts - preamble_stadate)