mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
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
Block a user