mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: example compile error fix
This commit is contained in:
parent
6857b8e4f4
commit
e7122b85ed
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue