mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_ICEngine: minor format and typo fixes
This commit is contained in:
parent
a5699c7d5a
commit
d4a05c8ada
@ -24,7 +24,7 @@ const AP_Param::GroupInfo AP_ICEngine::var_info[] = {
|
||||
|
||||
// @Param: ENABLE
|
||||
// @DisplayName: Enable ICEngine control
|
||||
// @Description: This enables internal combusion engine control
|
||||
// @Description: This enables internal combustion engine control
|
||||
// @Values: 0:Disabled, 1:Enabled
|
||||
// @User: Advanced
|
||||
AP_GROUPINFO_FLAGS("ENABLE", 0, AP_ICEngine, enable, 0, AP_PARAM_FLAG_ENABLE),
|
||||
@ -51,10 +51,10 @@ const AP_Param::GroupInfo AP_ICEngine::var_info[] = {
|
||||
// @Units: s
|
||||
// @Range: 1 10
|
||||
AP_GROUPINFO("START_DELAY", 3, AP_ICEngine, starter_delay, 2),
|
||||
|
||||
|
||||
// @Param: RPM_THRESH
|
||||
// @DisplayName: RPM threshold
|
||||
// @Description: This is the measured RPM above which tne engine is considered to be running
|
||||
// @Description: This is the measured RPM above which the engine is considered to be running
|
||||
// @User: Standard
|
||||
// @Range: 100 100000
|
||||
AP_GROUPINFO("RPM_THRESH", 4, AP_ICEngine, rpm_threshold, 100),
|
||||
@ -100,7 +100,7 @@ const AP_Param::GroupInfo AP_ICEngine::var_info[] = {
|
||||
// @User: Standard
|
||||
// @Range: 0 100
|
||||
AP_GROUPINFO("START_PCT", 10, AP_ICEngine, start_percent, 5),
|
||||
|
||||
|
||||
AP_GROUPEND
|
||||
};
|
||||
|
||||
@ -211,7 +211,7 @@ void AP_ICEngine::update(void)
|
||||
state = ICE_OFF;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* now set output channels */
|
||||
switch (state) {
|
||||
case ICE_OFF:
|
||||
@ -225,7 +225,7 @@ void AP_ICEngine::update(void)
|
||||
SRV_Channels::set_output_pwm(SRV_Channel::k_ignition, pwm_ignition_on);
|
||||
SRV_Channels::set_output_pwm(SRV_Channel::k_starter, pwm_starter_off);
|
||||
break;
|
||||
|
||||
|
||||
case ICE_STARTING:
|
||||
SRV_Channels::set_output_pwm(SRV_Channel::k_ignition, pwm_ignition_on);
|
||||
SRV_Channels::set_output_pwm(SRV_Channel::k_starter, pwm_starter_on);
|
||||
|
Loading…
Reference in New Issue
Block a user