forked from Archive/PX4-Autopilot
px4io driver: Small fix
This commit is contained in:
parent
a62ac72b2e
commit
c2f825647e
|
@ -1508,7 +1508,7 @@ PX4IO::io_get_raw_rc_input(rc_input_values &input_rc)
|
||||||
|
|
||||||
/* last thing set are the actual channel values as 16 bit values */
|
/* last thing set are the actual channel values as 16 bit values */
|
||||||
for (unsigned i = 0; i < channel_count; i++) {
|
for (unsigned i = 0; i < channel_count; i++) {
|
||||||
input_rc.values[i] = ®s[prolog + i];
|
input_rc.values[i] = regs[prolog + i];
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue