From 2e804bb0d5f2ab35857e8dad4c61432a7e8ae071 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 5 Feb 2022 10:39:05 +1100 Subject: [PATCH] GCS_MAVLink: mark MAV_CMD_DO_SET_ROI_LOCATION as having a location --- libraries/GCS_MAVLink/GCS_Common.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/GCS_MAVLink/GCS_Common.cpp b/libraries/GCS_MAVLink/GCS_Common.cpp index fc693c84e9..2926aabca8 100644 --- a/libraries/GCS_MAVLink/GCS_Common.cpp +++ b/libraries/GCS_MAVLink/GCS_Common.cpp @@ -4498,6 +4498,7 @@ bool GCS_MAVLINK::command_long_stores_location(const MAV_CMD command) switch(command) { case MAV_CMD_DO_SET_HOME: case MAV_CMD_DO_SET_ROI: + case MAV_CMD_DO_SET_ROI_LOCATION: case MAV_CMD_NAV_TAKEOFF: return true; default: