mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
Plane: use renamed RCInput valid_channels
This commit is contained in:
parent
31e430948a
commit
b0f5b9a4cf
@ -139,7 +139,7 @@ test_passthru(uint8_t argc, const Menu::arg *argv)
|
||||
delay(20);
|
||||
|
||||
// New radio frame? (we could use also if((millis()- timer) > 20)
|
||||
if (hal.rcin->valid() > 0) {
|
||||
if (hal.rcin->valid_channels() > 0) {
|
||||
cliSerial->print_P(PSTR("CH:"));
|
||||
for(int16_t i = 0; i < 8; i++) {
|
||||
cliSerial->print(hal.rcin->read(i)); // Print channel values
|
||||
|
Loading…
Reference in New Issue
Block a user