5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-03 14:38:30 -04:00

AP_BLHeli: Fix some typos

Fixed some typos found in the code.
This commit is contained in:
Mykhailo Kuznietsov 2023-10-11 18:41:51 +11:00 committed by Peter Barker
parent d901758005
commit 81e1c3c0b0
2 changed files with 4 additions and 4 deletions
libraries/AP_BLHeli

View File

@ -51,7 +51,7 @@ extern const AP_HAL::HAL& hal;
// the MSP protocol on hal.console
#define BLHELI_UART_LOCK_KEY 0x20180402
// if no packets are received for this time and motor control is active BLH will disconect (stoping motors)
// if no packets are received for this time and motor control is active BLH will disconnect (stoping motors)
#define MOTOR_ACTIVE_TIMEOUT 1000
const AP_Param::GroupInfo AP_BLHeli::var_info[] = {
@ -395,7 +395,7 @@ void AP_BLHeli::msp_process_command(void)
break;
case MSP_UID:
// MCU identifer
// MCU identifier
debug("MSP_UID");
msp_send_reply(msp.cmdMSP, (const uint8_t *)UDID_START, 12);
break;
@ -1421,7 +1421,7 @@ void AP_BLHeli::init(uint32_t mask, AP_HAL::RCOutput::output_mode otype)
motor_mask = mask;
debug("ESC: %u motors mask=0x%08lx", num_motors, mask);
// check if we have a combination of reversable and normal
// check if we have a combination of reversible and normal
mixed_type = (mask != (mask & channel_reversible_mask.get())) && (channel_reversible_mask.get() != 0);
if (num_motors != 0 && telem_rate > 0) {

View File

@ -237,7 +237,7 @@ private:
// have we locked the UART?
bool uart_locked;
// true if we have a mix of reversable and normal ESC
// true if we have a mix of reversible and normal ESC
bool mixed_type;
// mapping from BLHeli motor numbers to RC output channels