/* Cesar project {{{ * * Copyright (C) 2008 Spidcom * * <<>> * * }}} */ /** * \file cp/beacon/test/central_beacon/src/phy_stub.c * \brief « brief description » * \ingroup « module » * * « long description » */ #include "common/std.h" #include "hal/phy/phy.h" #include "cp/beacon/test/cco/inc/phy_stub.h" u32 phy_date (phy_t *ctx) { phy_test_t *phy; dbg_assert(ctx); phy = (phy_test_t *) ctx; phy->ntb += phy->date_ntb + 10; return phy->ntb; } u32 phy_clock_get_zero_cross_captured_date (phy_t *ctx) { return 0; }