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()
|
void AP_Periph_FW::rcin_init()
|
||||||
{
|
{
|
||||||
if (g_rcin.rcin1_port == 0) {
|
if (g_rcin.rcin1_port < 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user