AP_Soaring: Use RC_Channels instead of hal.rcin

This commit is contained in:
Michael du Breuil 2018-04-03 19:19:02 -07:00 committed by Francisco Ferreira
parent 70b1eb9836
commit b757354c88
1 changed files with 1 additions and 1 deletions

View File

@ -331,5 +331,5 @@ bool SoaringController::is_active() const
return true;
}
// active when above 1700
return hal.rcin->read(soar_active_ch-1) >= 1700;
return RC_Channels::get_radio_in(soar_active_ch-1) >= 1700;
}