Fixed compile error

This commit is contained in:
Lorenz Meier 2013-12-21 19:08:52 +01:00
parent b84c9f962b
commit 999051546a
1 changed files with 2 additions and 2 deletions

View File

@ -136,8 +136,8 @@ controls_tick() {
perf_end(c_gather_ppm);
/* limit number of channels to allowable data size */
if (r_raw_rc_count > PX4IO_INPUT_CHANNELS)
r_raw_rc_count = PX4IO_INPUT_CHANNELS;
if (r_raw_rc_count > PX4IO_RC_INPUT_CHANNELS)
r_raw_rc_count = PX4IO_RC_INPUT_CHANNELS;
/*
* In some cases we may have received a frame, but input has still