Skip to content
Snippets Groups Projects
Commit e78651e8 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

HAL_PX4: fixed DSM bind on Pixracer

parent 5e829e77
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,10 @@ bool PX4RCInput::rc_bind(int dsmMode) ...@@ -121,7 +121,10 @@ bool PX4RCInput::rc_bind(int dsmMode)
{ {
int fd = open("/dev/px4io", 0); int fd = open("/dev/px4io", 0);
if (fd == -1) { if (fd == -1) {
hal.console->printf("RCInput: failed to open /dev/px4io\n"); fd = open("/dev/px4fmu", 0);
}
if (fd == -1) {
hal.console->printf("RCInput: failed to open /dev/px4io or /dev/px4fmu\n");
return false; return false;
} }
......
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