From aa80167b476957f546a33b4626752958e9d30518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Sanjurjo=20Cort=C3=A9s?= <74329840+antonio-sc66@users.noreply.github.com> Date: Sun, 29 Nov 2020 23:35:22 +0100 Subject: [PATCH] mavlink: rename OPTICAL_FLOW header and defines to OPTICAL_FLOW_RAD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Antonio Sanjurjo Cortés <74329840+antonio-sc66@users.noreply.github.com> --- src/modules/mavlink/mavlink_messages.cpp | 6 +++--- .../streams/{OPTICAL_FLOW.hpp => OPTICAL_FLOW_RAD.hpp} | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) rename src/modules/mavlink/streams/{OPTICAL_FLOW.hpp => OPTICAL_FLOW_RAD.hpp} (97%) diff --git a/src/modules/mavlink/mavlink_messages.cpp b/src/modules/mavlink/mavlink_messages.cpp index cf76867919..2107518fa3 100644 --- a/src/modules/mavlink/mavlink_messages.cpp +++ b/src/modules/mavlink/mavlink_messages.cpp @@ -121,7 +121,7 @@ using matrix::wrap_2pi; #include "streams/HIL_STATE_QUATERNION.hpp" #include "streams/MOUNT_ORIENTATION.hpp" #include "streams/OBSTACLE_DISTANCE.hpp" -#include "streams/OPTICAL_FLOW.hpp" +#include "streams/OPTICAL_FLOW_RAD.hpp" #include "streams/ORBIT_EXECUTION_STATUS.hpp" #include "streams/PING.hpp" #include "streams/PROTOCOL_VERSION.hpp" @@ -3945,9 +3945,9 @@ static const StreamListItem streams_list[] = { create_stream_list_item(), create_stream_list_item(), create_stream_list_item(), -#if defined(OPTICAL_FLOW_HPP) +#if defined(OPTICAL_FLOW_RAD_HPP) create_stream_list_item(), -#endif // OPTICAL_FLOW_HPP +#endif // OPTICAL_FLOW_RAD_HPP create_stream_list_item >(), create_stream_list_item >(), #if defined(NAMED_VALUE_FLOAT_HPP) diff --git a/src/modules/mavlink/streams/OPTICAL_FLOW.hpp b/src/modules/mavlink/streams/OPTICAL_FLOW_RAD.hpp similarity index 97% rename from src/modules/mavlink/streams/OPTICAL_FLOW.hpp rename to src/modules/mavlink/streams/OPTICAL_FLOW_RAD.hpp index 7a5a6620e2..eb0184947d 100644 --- a/src/modules/mavlink/streams/OPTICAL_FLOW.hpp +++ b/src/modules/mavlink/streams/OPTICAL_FLOW_RAD.hpp @@ -31,8 +31,8 @@ * ****************************************************************************/ -#ifndef OPTICAL_FLOW_HPP -#define OPTICAL_FLOW_HPP +#ifndef OPTICAL_FLOW_RAD_HPP +#define OPTICAL_FLOW_RAD_HPP #include @@ -110,4 +110,4 @@ protected: } }; -#endif // OPTICAL_FLOW_HPP +#endif // OPTICAL_FLOW_RAD_HPP