Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend BLH ESC telem packet sep timeout #244

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
AP_BLHeli: increase packet timeout to 5ms
Workaround for APD's mid-packet gaps in their new firmware
  • Loading branch information
robertlong13 committed Nov 12, 2024
commit a73012b471995f3d155d744a6a3388c2a19ef908
2 changes: 1 addition & 1 deletion libraries/AP_BLHeli/AP_BLHeli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ void AP_BLHeli::update_telemetry(void)
if (nbytes > 0 &&
nbytes < telem_packet_size &&
(last_telem_byte_read_us == 0 ||
now - last_telem_byte_read_us < 1000)) {
now - last_telem_byte_read_us < 5000)) {
// wait a bit longer, we don't have enough bytes yet
if (last_telem_byte_read_us == 0) {
last_telem_byte_read_us = now;
Expand Down