mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-24 15:27:41 +08:00
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:
@@ -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;
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user