mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Sub: Remove statustext messages for surface and bottom events
This commit is contained in:
parent
93022a8a5e
commit
f9622f7205
@ -89,11 +89,9 @@ void Sub::set_surfaced(bool at_surface) {
|
||||
|
||||
if(!ap.at_surface) {
|
||||
Log_Write_Event(DATA_SURFACED);
|
||||
gcs_send_text(MAV_SEVERITY_INFO, "Off Surface");
|
||||
} else {
|
||||
surface_detector_count = 0;
|
||||
Log_Write_Event(DATA_NOT_SURFACED);
|
||||
gcs_send_text(MAV_SEVERITY_INFO, "Surfaced");
|
||||
}
|
||||
}
|
||||
|
||||
@ -107,10 +105,8 @@ void Sub::set_bottomed(bool at_bottom) {
|
||||
|
||||
if(!ap.at_bottom) {
|
||||
Log_Write_Event(DATA_BOTTOMED);
|
||||
gcs_send_text(MAV_SEVERITY_INFO, "Off Bottom");
|
||||
} else {
|
||||
bottom_detector_count = 0;
|
||||
Log_Write_Event(DATA_NOT_BOTTOMED);
|
||||
gcs_send_text(MAV_SEVERITY_INFO, "Bottomed");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user