Skip to content

Commit

Permalink
PR #13742 from noacoohen: Move rotation filter extension to the end o…
Browse files Browse the repository at this point in the history
…f enum
  • Loading branch information
Nir-Az authored Feb 5, 2025
2 parents eb889f6 + 4971de9 commit d0b21b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/librealsense2/h/rs_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ typedef enum rs2_log_severity {
const char* rs2_log_severity_to_string(rs2_log_severity info);

/** \brief Specifies advanced interfaces (capabilities) objects may implement. */
// To add a new extension, append it at the end of this enum to preserve ordering.
typedef enum rs2_extension
{
RS2_EXTENSION_UNKNOWN,
Expand Down Expand Up @@ -161,7 +162,6 @@ typedef enum rs2_extension
RS2_EXTENSION_SOFTWARE_DEVICE,
RS2_EXTENSION_SOFTWARE_SENSOR,
RS2_EXTENSION_DECIMATION_FILTER,
RS2_EXTENSION_ROTATION_FILTER,
RS2_EXTENSION_THRESHOLD_FILTER,
RS2_EXTENSION_DISPARITY_FILTER,
RS2_EXTENSION_SPATIAL_FILTER,
Expand Down Expand Up @@ -192,6 +192,7 @@ typedef enum rs2_extension
RS2_EXTENSION_MAX_USABLE_RANGE_SENSOR,
RS2_EXTENSION_DEBUG_STREAM_SENSOR,
RS2_EXTENSION_CALIBRATION_CHANGE_DEVICE,
RS2_EXTENSION_ROTATION_FILTER,
RS2_EXTENSION_COUNT
} rs2_extension;
const char* rs2_extension_type_to_string(rs2_extension type);
Expand Down

0 comments on commit d0b21b1

Please sign in to comment.