From 66ff7844c21380125ff6cb6f5b29e5be0732dbf0 Mon Sep 17 00:00:00 2001 From: jaxxzer Date: Tue, 1 Mar 2016 20:53:59 -0500 Subject: [PATCH] Sub: change surface/bottom message severity to INFO --- ArduSub/surface_bottom_detector.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ArduSub/surface_bottom_detector.cpp b/ArduSub/surface_bottom_detector.cpp index 20498b7214..fbf061b102 100644 --- a/ArduSub/surface_bottom_detector.cpp +++ b/ArduSub/surface_bottom_detector.cpp @@ -76,10 +76,10 @@ void Sub::set_surfaced(bool at_surface) { if(!ap.at_surface) { surface_detector_count = 0; Log_Write_Event(DATA_SURFACED); - gcs_send_text(MAV_SEVERITY_CRITICAL, "Off Surface"); + gcs_send_text(MAV_SEVERITY_INFO, "Off Surface"); } else { Log_Write_Event(DATA_NOT_SURFACED); - gcs_send_text(MAV_SEVERITY_CRITICAL, "Surfaced"); + gcs_send_text(MAV_SEVERITY_INFO, "Surfaced"); } } @@ -93,9 +93,9 @@ void Sub::set_bottomed(bool at_bottom) { if(!ap.at_bottom) { bottom_detector_count = 0; Log_Write_Event(DATA_BOTTOMED); - gcs_send_text(MAV_SEVERITY_CRITICAL, "Off Bottom"); + gcs_send_text(MAV_SEVERITY_INFO, "Off Bottom"); } else { Log_Write_Event(DATA_NOT_BOTTOMED); - gcs_send_text(MAV_SEVERITY_CRITICAL, "Bottomed"); + gcs_send_text(MAV_SEVERITY_INFO, "Bottomed"); } }