From 1b281be53cf359f5ca8908de8a6ae0d95edce5f0 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sun, 12 Mar 2017 17:14:53 -0300 Subject: [PATCH] several smaller fixes and documentation updates --- tests/fpga.c | 3 +-- tests/hist.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/fpga.c b/tests/fpga.c index 34c0a674c..79b808a82 100644 --- a/tests/fpga.c +++ b/tests/fpga.c @@ -32,8 +32,7 @@ #define CPU_HZ 3392389000 static struct fpga_card *card; - -static struct cfg cfg; +static struct super_node cfg; static void init() { diff --git a/tests/hist.c b/tests/hist.c index 19b10dcaa..58221c7df 100644 --- a/tests/hist.c +++ b/tests/hist.c @@ -18,7 +18,7 @@ Test(hist, simple) { struct hist h; int ret; - ret = hist_create(&h, -100, 100, 1); + ret = hist_init(&h, -100, 100, 1); cr_assert_eq(ret, 0); for (int i = 0; i < ARRAY_LEN(test_data); i++)