mirror of https://github.com/ArduPilot/ardupilot
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 <GCS_MAVLink/GCS.h>
|
||||
#include <AP_Logger/AP_Logger.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");
|
||||
#endif
|
||||
|
||||
// start logger logging new fence
|
||||
AP::logger().Write_Fence();
|
||||
|
||||
void_index();
|
||||
|
||||
// this may be completely bogus total. If we are storing an
|
||||
|
|
Loading…
Reference in New Issue