mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Periph: fixed handling of first uart for RC input
This commit is contained in:
parent
dc8455411a
commit
69ad504762
@ -77,7 +77,7 @@ Parameters_RCIN::Parameters_RCIN(void)
|
||||
|
||||
void AP_Periph_FW::rcin_init()
|
||||
{
|
||||
if (g_rcin.rcin1_port == 0) {
|
||||
if (g_rcin.rcin1_port < 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user