mirror of https://github.com/ArduPilot/ardupilot
Tracker: Use RC_Channels instead of hal.rcin
This commit is contained in:
parent
05173f24c6
commit
40810f5973
|
@ -4,7 +4,7 @@
|
|||
|
||||
void Tracker::read_radio()
|
||||
{
|
||||
if (hal.rcin->new_input()) {
|
||||
if (RC_Channels::has_new_input()) {
|
||||
RC_Channels::set_pwm_all();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue