demo/choose_clock: Fix a printf.
"Selecting master clock %d for channel %d on subdevice %d.\n" The %d after subdevice was missing although the corresponding parameter in the argument list was present.
This commit is contained in:
parent
0f77a92830
commit
77e2628600
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ int main(int argc, char *argv[])
|
|||
else
|
||||
period_ns = 0;
|
||||
clock_selection = options.value;
|
||||
printf("Selecting master clock %d for channel %d on subdevice.\n", clock_selection, options.channel, options.subdevice);
|
||||
printf("Selecting master clock %d for channel %d on subdevice %d.\n", clock_selection, options.channel, options.subdevice);
|
||||
if(period_ns)
|
||||
{
|
||||
printf("Clock period = %d nanoseconds.\n", period_ns);
|
||||
|
|
Loading…
Add table
Reference in a new issue