mavlink: rename OPTICAL_FLOW header and defines to OPTICAL_FLOW_RAD

Signed-off-by: Antonio Sanjurjo Cortés <74329840+antonio-sc66@users.noreply.github.com>
This commit is contained in:
Antonio Sanjurjo Cortés
2020-11-29 20:26:07 -05:00
committed by Daniel Agar
parent 7dde298664
commit aa80167b47
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -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<MavlinkStreamRCChannels>(),
create_stream_list_item<MavlinkStreamManualControl>(),
create_stream_list_item<MavlinkStreamTrajectoryRepresentationWaypoints>(),
#if defined(OPTICAL_FLOW_HPP)
#if defined(OPTICAL_FLOW_RAD_HPP)
create_stream_list_item<MavlinkStreamOpticalFlowRad>(),
#endif // OPTICAL_FLOW_HPP
#endif // OPTICAL_FLOW_RAD_HPP
create_stream_list_item<MavlinkStreamActuatorControlTarget<0> >(),
create_stream_list_item<MavlinkStreamActuatorControlTarget<1> >(),
#if defined(NAMED_VALUE_FLOAT_HPP)
@@ -31,8 +31,8 @@
*
****************************************************************************/
#ifndef OPTICAL_FLOW_HPP
#define OPTICAL_FLOW_HPP
#ifndef OPTICAL_FLOW_RAD_HPP
#define OPTICAL_FLOW_RAD_HPP
#include <uORB/topics/optical_flow.h>
@@ -110,4 +110,4 @@ protected:
}
};
#endif // OPTICAL_FLOW_HPP
#endif // OPTICAL_FLOW_RAD_HPP