1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-24 01:20:39 +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); exit(1);
} }
mmcclk_first(&mmc, 0); mmcclk_first(&mmc, 0, MMCCLK_FLAG_WR_ONLY);
clks[0] = mmc; clks[0] = mmc;
while (mmcclk_next(&mmc)) { while (mmcclk_next(&mmc)) {
clks = realloc(clks, sizeof(struct mmcclk)*(n_clks+1)); clks = realloc(clks, sizeof(struct mmcclk)*(n_clks+1));