Merged in ziggurat29/apps (pull request #54)
minor; media app is intended to take either a command line argument, or a compiled-in default value from config. However, the default is ignored, leading to confusing error messages.
This commit is contained in:
commit
0fd29e31cb
@ -155,7 +155,7 @@ int media_main(int argc, FAR char *argv[])
|
|||||||
devpath = argv[1];
|
devpath = argv[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
fd = open(argv[1], O_RDWR);
|
fd = open(devpath, O_RDWR);
|
||||||
|
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user