Skip to content
Snippets Groups Projects
Commit c1978433 authored by Mark Charlebois's avatar Mark Charlebois Committed by Julian Oes
Browse files

Reverted to older version

parent 8ed263ed
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,7 @@ load(const char *devname, const char *fname)
usleep(20000);
int dev;
char buf[2048];
/* open the device */
if ((dev = px4_open(devname, 0)) < 0) {
......@@ -121,8 +122,6 @@ load(const char *devname, const char *fname)
return 1;
}
char buf[2048];
if (load_mixer_file(fname, &buf[0], sizeof(buf)) < 0) {
warnx("can't load mixer: %s", fname);
return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment