1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-12-26 21:00:48 +02:00

ubb-patgen/ubb-patgen.c (frequencies): adapt use of mmcclk for API change

This commit is contained in:
Werner Almesberger 2013-01-28 20:50:00 -03:00
parent 591bb6427b
commit 66a487b634

View File

@ -57,7 +57,7 @@ static struct mmcclk *frequencies(int *n)
exit(1);
}
mmcclk_first(&mmc, 0);
mmcclk_first(&mmc, 0, MMCCLK_FLAG_WR_ONLY);
clks[0] = mmc;
while (mmcclk_next(&mmc)) {
clks = realloc(clks, sizeof(struct mmcclk)*(n_clks+1));