From e7122b85ed084d36a1f1c8fcaabbe259eca8ec86 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Mon, 29 Apr 2013 17:47:04 +0900 Subject: [PATCH] AP_HAL: example compile error fix --- libraries/AP_HAL_AVR/examples/RCInputTest/RCInputTest.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_AVR/examples/RCInputTest/RCInputTest.pde b/libraries/AP_HAL_AVR/examples/RCInputTest/RCInputTest.pde index 6e6217d541..cab5c96b9b 100644 --- a/libraries/AP_HAL_AVR/examples/RCInputTest/RCInputTest.pde +++ b/libraries/AP_HAL_AVR/examples/RCInputTest/RCInputTest.pde @@ -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); }