aboutsummaryrefslogtreecommitdiff
path: root/apps/px4io/comms.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/px4io/comms.c')
-rw-r--r--apps/px4io/comms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/px4io/comms.c b/apps/px4io/comms.c
index 480e3f5cc..83a006d43 100644
--- a/apps/px4io/comms.c
+++ b/apps/px4io/comms.c
@@ -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;