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;
|
||||
}
|
||||
// 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