summaryrefslogtreecommitdiff
path: root/cesar/mac/common/test/ntb/src/test_ntb.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/mac/common/test/ntb/src/test_ntb.c')
-rw-r--r--cesar/mac/common/test/ntb/src/test_ntb.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/cesar/mac/common/test/ntb/src/test_ntb.c b/cesar/mac/common/test/ntb/src/test_ntb.c
index eb7e6570de..305b1ef145 100644
--- a/cesar/mac/common/test/ntb/src/test_ntb.c
+++ b/cesar/mac/common/test/ntb/src/test_ntb.c
@@ -14,24 +14,19 @@
#include "common/std.h"
#include "lib/test.h"
-#include "lib/blk.h"
#include "mac/common/ntb.h"
#include "mac/common/config.h"
-#include "hal/phy/phy.h"
int main (void)
{
test_t test;
-
+
mac_config_t mac_config;
- phy_t *phy;
test_init(test, 0, NULL);
- phy = blk_alloc();
-
- mac_ntb_init(phy, &mac_config);
+ mac_ntb_init(&mac_config);
mac_config.ntb_offset_tck = 10;
test_begin(test, "test ntb")
@@ -41,15 +36,13 @@ int main (void)
test_end;
mac_ntb_uninit();
- blk_release(phy);
test_result (test);
return test_nb_failed (test) == 0 ? 0 : 1;
}
u32
-phy_date (phy_t *phy)
+phy_date (void)
{
- dbg_assert(phy);
return 52;
}