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:
parent
591bb6427b
commit
66a487b634
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user