docs: fix retuns/Succesful typos in board_common and ModalAI HITL debug (#27898)

- board_common.h RC serial swap docs: retuns → returns
- dsp_hitl debug PX4_INFO strings: Succesful → Successful
This commit is contained in:
Bartok
2026-07-14 08:03:24 -05:00
committed by GitHub
parent d1e3ce637e
commit 7c70e4dbeb
2 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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: