From 8eb6dfbb909c524901260579ee8b88b3149c3c62 Mon Sep 17 00:00:00 2001 From: Pernilla Date: Wed, 5 Feb 2025 11:34:48 +0100 Subject: [PATCH] small fixes from review --- src/lib/mixer_module/functions/FunctionICEngineControl.hpp | 2 +- src/modules/internal_combustion_engine_control/CMakeLists.txt | 2 +- .../InternalCombustionEngineControl.cpp | 4 ++-- .../InternalCombustionEngineControl.hpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/mixer_module/functions/FunctionICEngineControl.hpp b/src/lib/mixer_module/functions/FunctionICEngineControl.hpp index 50652a6289e3..d7fe61e1d371 100644 --- a/src/lib/mixer_module/functions/FunctionICEngineControl.hpp +++ b/src/lib/mixer_module/functions/FunctionICEngineControl.hpp @@ -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 diff --git a/src/modules/internal_combustion_engine_control/CMakeLists.txt b/src/modules/internal_combustion_engine_control/CMakeLists.txt index bbb075979eac..15df6ca368bc 100644 --- a/src/modules/internal_combustion_engine_control/CMakeLists.txt +++ b/src/modules/internal_combustion_engine_control/CMakeLists.txt @@ -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 diff --git a/src/modules/internal_combustion_engine_control/InternalCombustionEngineControl.cpp b/src/modules/internal_combustion_engine_control/InternalCombustionEngineControl.cpp index 2cdee8b18426..291d83c79d1e 100644 --- a/src/modules/internal_combustion_engine_control/InternalCombustionEngineControl.cpp +++ b/src/modules/internal_combustion_engine_control/InternalCombustionEngineControl.cpp @@ -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 @@ -328,7 +328,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); } diff --git a/src/modules/internal_combustion_engine_control/InternalCombustionEngineControl.hpp b/src/modules/internal_combustion_engine_control/InternalCombustionEngineControl.hpp index eb580065100c..43810cf0ce82 100644 --- a/src/modules/internal_combustion_engine_control/InternalCombustionEngineControl.hpp +++ b/src/modules/internal_combustion_engine_control/InternalCombustionEngineControl.hpp @@ -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