mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AC_Fence: Send text to gcs when fence is auto-enabled
This commit is contained in:
parent
b4bf41c6f9
commit
8ef68c8fb0
@ -171,6 +171,7 @@ void AC_Fence::auto_enable_fence_after_takeoff(void)
|
|||||||
case AC_Fence::AutoEnable::ALWAYS_ENABLED:
|
case AC_Fence::AutoEnable::ALWAYS_ENABLED:
|
||||||
case AC_Fence::AutoEnable::ENABLE_DISABLE_FLOOR_ONLY:
|
case AC_Fence::AutoEnable::ENABLE_DISABLE_FLOOR_ONLY:
|
||||||
enable(true);
|
enable(true);
|
||||||
|
gcs().send_text(MAV_SEVERITY_NOTICE, "Fence enabled (auto enabled)");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
// fence does not auto-enable in other takeoff conditions
|
// fence does not auto-enable in other takeoff conditions
|
||||||
|
Loading…
Reference in New Issue
Block a user