Adjust the control mapping from DSM receivers to correspond to the standard PPM control mapping for channels 0-4.

This commit is contained in:
px4dev
2012-12-04 22:00:24 -08:00
parent 7c3b28d503
commit fd771f67f2
3 changed files with 23 additions and 5 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ comms_main(void)
last_report_time = now;
/* populate the report */
for (int i = 0; i < system_state.rc_channels; i++)
for (unsigned i = 0; i < system_state.rc_channels; i++)
report.rc_channel[i] = system_state.rc_channel_data[i];
report.channel_count = system_state.rc_channels;
report.armed = system_state.armed;