Browse Source

px4io driver: Small fix

sbg
Lorenz Meier 11 years ago
parent
commit
c2f825647e
  1. 2
      src/drivers/px4io/px4io.cpp

2
src/drivers/px4io/px4io.cpp

@ -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] = &regs[prolog + i]; input_rc.values[i] = regs[prolog + i];
} }
return ret; return ret;

Loading…
Cancel
Save