AP_Camera: set-stream-information loses send-text

This commit is contained in:
Randy Mackay 2024-11-14 12:30:47 +09:00
parent d7b26a2205
commit 6f6613fefd
1 changed files with 0 additions and 1 deletions

View File

@ -274,7 +274,6 @@ void AP_Camera_Backend::send_video_stream_information(mavlink_channel_t chan) co
#if AP_CAMERA_INFO_FROM_SCRIPT_ENABLED #if AP_CAMERA_INFO_FROM_SCRIPT_ENABLED
void AP_Camera_Backend::set_stream_information(mavlink_video_stream_information_t stream_info) void AP_Camera_Backend::set_stream_information(mavlink_video_stream_information_t stream_info)
{ {
GCS_SEND_TEXT(MAV_SEVERITY_INFO, "Camera %u VIDEO_STREAM_INFORMATION (%s) set from script", _instance, stream_info.name);
_stream_info = stream_info; _stream_info = stream_info;
}; };
#endif // AP_CAMERA_INFO_FROM_SCRIPT_ENABLED #endif // AP_CAMERA_INFO_FROM_SCRIPT_ENABLED