Sub: change surface/bottom message severity to INFO

This commit is contained in:
jaxxzer 2016-03-01 20:53:59 -05:00 committed by Andrew Tridgell
parent 8cd41d305d
commit 66ff7844c2

View File

@ -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");
}
}