Skip to content

Commit

Permalink
AP_Periph: fixed handling of first uart for RC input
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Aug 24, 2023
1 parent c58cc58 commit 56b5074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/AP_Periph/rc_in.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 56b5074

Please sign in to comment.