mirror of
https://github.com/olofk/serv.git
synced 2026-01-11 23:42:50 +00:00
Silence warning about unused return value in testbench
This commit is contained in:
parent
9e73e11d86
commit
79768a8ac9
@ -154,7 +154,7 @@ int main(int argc, char **argv, char **env)
|
|||||||
do_gpio(&gpio_context, top->q);
|
do_gpio(&gpio_context, top->q);
|
||||||
}
|
}
|
||||||
if (tf && top->wb_clk && top->pc_vld)
|
if (tf && top->wb_clk && top->pc_vld)
|
||||||
write(tf, (void *)&top->pc_adr, 4);
|
if (write(tf, (void *)&top->pc_adr, 4) < 0) exit(1);
|
||||||
if (timeout && (main_time >= timeout)) {
|
if (timeout && (main_time >= timeout)) {
|
||||||
printf("Timeout: Exiting at time %lu\n", main_time);
|
printf("Timeout: Exiting at time %lu\n", main_time);
|
||||||
done = true;
|
done = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user