Skip to content

Commit

Permalink
GCS_MAVLink: Fix spelling error in comment
Browse files Browse the repository at this point in the history
Co-authored-by: Amilcar Lucas <[email protected]>
  • Loading branch information
2 people authored and IamPete1 committed Apr 1, 2024
1 parent d3e7374 commit bb4ed82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/GCS_MAVLink/GCS_FTP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void GCS_MAVLINK::handle_file_transfer_protocol(const mavlink_message_t &msg) {

bool GCS_MAVLINK::send_ftp_reply(const pending_ftp &reply)
{
if (!last_txbuf_is_greater(33)) { // It helps avoid GCS timeout if this is less than the threashold where we slow down normal streams (<=49)
if (!last_txbuf_is_greater(33)) { // It helps avoid GCS timeout if this is less than the threshold where we slow down normal streams (<=49)
return false;
}
WITH_SEMAPHORE(comm_chan_lock(reply.chan));
Expand Down

0 comments on commit bb4ed82

Please sign in to comment.