mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AC_PolyFence_loader: log fence on sucsesful write
This commit is contained in:
parent
d020dd2923
commit
3d5bbb72ab
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
#include <AP_AHRS/AP_AHRS.h>
|
#include <AP_AHRS/AP_AHRS.h>
|
||||||
#include <GCS_MAVLink/GCS.h>
|
#include <GCS_MAVLink/GCS.h>
|
||||||
|
#include <AP_Logger/AP_Logger.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
@ -1180,6 +1181,9 @@ bool AC_PolyFence_loader::write_fence(const AC_PolyFenceItem *new_items, uint16_
|
|||||||
gcs().send_text(MAV_SEVERITY_DEBUG, "Fence Indexed OK");
|
gcs().send_text(MAV_SEVERITY_DEBUG, "Fence Indexed OK");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// start logger logging new fence
|
||||||
|
AP::logger().Write_Fence();
|
||||||
|
|
||||||
void_index();
|
void_index();
|
||||||
|
|
||||||
// this may be completely bogus total. If we are storing an
|
// this may be completely bogus total. If we are storing an
|
||||||
|
Loading…
Reference in New Issue
Block a user