px4io driver: Small fix

This commit is contained in:
Lorenz Meier 2014-05-14 13:06:20 +02:00
parent a62ac72b2e
commit c2f825647e
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
for (unsigned i = 0; i < channel_count; i++) {
input_rc.values[i] = &regs[prolog + i];
input_rc.values[i] = regs[prolog + i];
}
return ret;