diff --git a/msg/Rpm.msg b/msg/Rpm.msg index fcec7edaf8..ca69e50fdb 100644 --- a/msg/Rpm.msg +++ b/msg/Rpm.msg @@ -1,4 +1,4 @@ uint64 timestamp # time since system start (microseconds) float32 rpm_estimate # filtered revolutions per minute -float32 rpm_raw # measured rpm +float32 rpm_raw diff --git a/src/drivers/camera_capture/camera_capture.cpp b/src/drivers/camera_capture/camera_capture.cpp index 7bf3813542..2d62d85086 100644 --- a/src/drivers/camera_capture/camera_capture.cpp +++ b/src/drivers/camera_capture/camera_capture.cpp @@ -81,7 +81,7 @@ CameraCapture::CameraCapture() : int32_t function; if (function_handle != PARAM_INVALID && param_get(function_handle, &function) == 0) { - if (function == 2032) { // Camera_Capture + if (function == 2032) { // Camera_Capture see mixer_module/output_functions.yaml parameter metadata definition _capture_channel = i; } } diff --git a/src/drivers/camera_trigger/interfaces/src/camera_interface.cpp b/src/drivers/camera_trigger/interfaces/src/camera_interface.cpp index 02e9119cae..e15468b03a 100644 --- a/src/drivers/camera_trigger/interfaces/src/camera_interface.cpp +++ b/src/drivers/camera_trigger/interfaces/src/camera_interface.cpp @@ -51,7 +51,7 @@ void CameraInterface::get_pins() int32_t function; if (function_handle != PARAM_INVALID && param_get(function_handle, &function) == 0) { - if (function == 2000) { // Camera_Trigger + if (function == 2000) { // Camera_Trigger see mixer_module/output_functions.yaml parameter metadata definition _pins[pin_index++] = i; } } diff --git a/src/drivers/pps_capture/PPSCapture.cpp b/src/drivers/pps_capture/PPSCapture.cpp index 399f034fbf..8a13c48c35 100644 --- a/src/drivers/pps_capture/PPSCapture.cpp +++ b/src/drivers/pps_capture/PPSCapture.cpp @@ -70,7 +70,7 @@ bool PPSCapture::init() int32_t function; if (function_handle != PARAM_INVALID && param_get(function_handle, &function) == 0) { - if (function == 2064) { // PPS_Input + if (function == 2064) { // PPS_Input see mixer_module/output_functions.yaml parameter metadata definition _channel = i; } } diff --git a/src/drivers/rpm_capture/CMakeLists.txt b/src/drivers/rpm_capture/CMakeLists.txt index db52504b4f..b2639cba1d 100644 --- a/src/drivers/rpm_capture/CMakeLists.txt +++ b/src/drivers/rpm_capture/CMakeLists.txt @@ -1,6 +1,6 @@ ############################################################################ # -# Copyright (c) 2021 PX4 Development Team. All rights reserved. +# Copyright (c) 2024 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/drivers/rpm_capture/RPMCapture.cpp b/src/drivers/rpm_capture/RPMCapture.cpp index 8a9f2f795b..8330f77d13 100644 --- a/src/drivers/rpm_capture/RPMCapture.cpp +++ b/src/drivers/rpm_capture/RPMCapture.cpp @@ -1,6 +1,6 @@ /**************************************************************************** * - * Copyright (c) 2021 PX4 Development Team. All rights reserved. + * Copyright (c) 2024 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 @@ -66,7 +66,7 @@ bool RPMCapture::init() int32_t function; if (function_handle != PARAM_INVALID && param_get(function_handle, &function) == 0) { - if (function == 2070) { // RPM_Input + if (function == 2070) { // RPM_Input see mixer_module/output_functions.yaml parameter metadata definition _channel = i; } } diff --git a/src/drivers/rpm_capture/RPMCapture.hpp b/src/drivers/rpm_capture/RPMCapture.hpp index aec1b126e4..6128125711 100644 --- a/src/drivers/rpm_capture/RPMCapture.hpp +++ b/src/drivers/rpm_capture/RPMCapture.hpp @@ -1,6 +1,6 @@ /**************************************************************************** * - * Copyright (c) 2021 PX4 Development Team. All rights reserved. + * Copyright (c) 2024 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/drivers/rpm_capture/rpm_capture_params.c b/src/drivers/rpm_capture/rpm_capture_params.c index 88f0df613c..13bd3fb7a7 100644 --- a/src/drivers/rpm_capture/rpm_capture_params.c +++ b/src/drivers/rpm_capture/rpm_capture_params.c @@ -1,6 +1,6 @@ /**************************************************************************** * - * Copyright (c) 2021 PX4 Development Team. All rights reserved. + * Copyright (c) 2024 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