From 7c70e4dbeb5ad23f2857645a172e07ef5d732ae8 Mon Sep 17 00:00:00 2001 From: Bartok Date: Tue, 14 Jul 2026 08:03:24 -0500 Subject: [PATCH] docs: fix retuns/Succesful typos in board_common and ModalAI HITL debug (#27898) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - board_common.h RC serial swap docs: retuns → returns - dsp_hitl debug PX4_INFO strings: Succesful → Successful --- boards/modalai/voxl2/src/drivers/qurt/dsp_hitl/dsp_hitl.cpp | 6 +++--- platforms/common/include/px4_platform_common/board_common.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boards/modalai/voxl2/src/drivers/qurt/dsp_hitl/dsp_hitl.cpp b/boards/modalai/voxl2/src/drivers/qurt/dsp_hitl/dsp_hitl.cpp index 917a91ce5bb..0a455fe3396 100644 --- a/boards/modalai/voxl2/src/drivers/qurt/dsp_hitl/dsp_hitl.cpp +++ b/boards/modalai/voxl2/src/drivers/qurt/dsp_hitl/dsp_hitl.cpp @@ -312,7 +312,7 @@ void send_actuator_data() actuator_sent_counter++; - if (_debug) { PX4_INFO("Succesful write of actuator back to jMAVSim: %d at %llu", writeRetval, hrt_absolute_time()); } + if (_debug) { PX4_INFO("Successful write of actuator back to jMAVSim: %d at %llu", writeRetval, hrt_absolute_time()); } first_sent = true; @@ -327,7 +327,7 @@ void send_actuator_data() actuator_sent_counter++; - if (_debug) { PX4_INFO("Succesful write of actuator back to jMAVSim: %d at %llu", writeRetval, hrt_absolute_time()); } + if (_debug) { PX4_INFO("Successful write of actuator back to jMAVSim: %d at %llu", writeRetval, hrt_absolute_time()); } send_esc_status(hil_act_control); } @@ -532,7 +532,7 @@ handle_message_command_long_dsp(mavlink_message_t *msg) acknewBufLen = mavlink_msg_to_send_buffer(acknewBuf, &ack_message); int writeRetval = writeResponse(&acknewBuf, acknewBufLen); - if (_debug) { PX4_INFO("Succesful write of ACK back over UART: %d at %llu", writeRetval, hrt_absolute_time()); } + if (_debug) { PX4_INFO("Successful write of ACK back over UART: %d at %llu", writeRetval, hrt_absolute_time()); } } int flow_debug_counter = 0; diff --git a/platforms/common/include/px4_platform_common/board_common.h b/platforms/common/include/px4_platform_common/board_common.h index 1056d721b98..eb7d00ea9b6 100644 --- a/platforms/common/include/px4_platform_common/board_common.h +++ b/platforms/common/include/px4_platform_common/board_common.h @@ -496,7 +496,7 @@ static inline bool board_rc_singlewire(const char *device) { return false; } * * RC_SERIAL_SWAP_USING_SINGLEWIRE is defined * RC_SERIAL_SWAP_RXTX is defined - * TIOCSSWAP is defined and retuns !OK + * TIOCSSWAP is defined and returns !OK * TIOCSSINGLEWIRE is defined * * Input Parameters: