Skip to content
Snippets Groups Projects
Commit 00146ca9 authored by Randy Mackay's avatar Randy Mackay
Browse files

AP_HAL: fix another RCInput compile error

parent e7122b85
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ void multiread(AP_HAL::RCInput* in, uint16_t* channels) {
void individualread(AP_HAL::RCInput* in, uint16_t* channels) {
/* individual channel read method: */
uint8_t valid;
valid = in->valid();
valid = in->valid_channels();
for (int i = 0; i < 8; i++) {
channels[i] = in->read(i);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment