AP_HAL: example compile error fix

This commit is contained in:
Randy Mackay 2013-04-29 17:47:04 +09:00
parent 6857b8e4f4
commit e7122b85ed
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ void individualread(AP_HAL::RCInput* in) {
/* individual channel read method: */
uint8_t valid;
uint16_t channels[8];
valid = in->valid();
valid = in->valid_channels();
for (int i = 0; i < 8; i++) {
channels[i] = in->read(i);
}