Skip to content

Commit

Permalink
small fixes from review
Browse files Browse the repository at this point in the history
  • Loading branch information
Perrrewi committed Feb 5, 2025
1 parent 1b7468a commit 00375b9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/lib/mixer_module/functions/FunctionICEngineControl.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/****************************************************************************
*
* Copyright (c) 2024 PX4 Development Team. All rights reserved.
* Copyright (c) 2025 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
############################################################################
#
# Copyright (c) 2024 PX4 Development Team. All rights reserved.
# Copyright (c) 2025 PX4 Development Team. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/****************************************************************************
*
* Copyright (c) 2024 PX4 Development Team. All rights reserved.
* Copyright (c) 2025 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -132,7 +132,6 @@ void InternalCombustionEngineControl::Run()
break;

case ICESource::Aux4:
// TODO: remove hack to have it testable with yaw stick
user_request = manual_control_setpoint.aux4 > 0.5f ? UserOnOffRequest::On : UserOnOffRequest::Off;
break;
}
Expand Down Expand Up @@ -328,7 +327,7 @@ void InternalCombustionEngineControl::controlEngineStartup(internal_combustion_e

if (now > _state_start_time + cycle_timeout_duration) {
// reset timer to restart procedure if engine is not running
_state_start_time = hrt_absolute_time();
instantiateEngineStart();
_starting_retry_cycle++;
PX4_INFO("ICE: Retry %i finished", _starting_retry_cycle);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/****************************************************************************
*
* Copyright (c) 2021 PX4 Development Team. All rights reserved.
* Copyright (c) 2025 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
Expand Down

0 comments on commit 00375b9

Please sign in to comment.