Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
laozhou-fujian authored Feb 23, 2024
2 parents da5d14e + 26d4e0d commit 9d3b048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/AP_RCProtocol/AP_RCProtocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -425,10 +425,10 @@ bool AP_RCProtocol::new_input()
#endif
};
for (const auto protocol : pollable) {
_new_input = detect_async_protocol(protocol);
if (!_new_input) {
if (!detect_async_protocol(protocol)) {
continue;
}
_new_input = true;
_last_input_ms = AP_HAL::millis();
break;
}
Expand Down

0 comments on commit 9d3b048

Please sign in to comment.