mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 01:33:56 -04:00
AP_Soaring: Use RC_Channels instead of hal.rcin
This commit is contained in:
parent
70b1eb9836
commit
b757354c88
@ -331,5 +331,5 @@ bool SoaringController::is_active() const
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// active when above 1700
|
// active when above 1700
|
||||||
return hal.rcin->read(soar_active_ch-1) >= 1700;
|
return RC_Channels::get_radio_in(soar_active_ch-1) >= 1700;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user