Browse Source

ArduSub: move logging of LogEvent::SET_HOME up

gps-1.3.1
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
abbbfc0e85
  1. 3
      ArduSub/commands.cpp

3
ArduSub/commands.cpp

@ -70,9 +70,6 @@ bool Sub::set_home(const Location& loc, bool lock) @@ -70,9 +70,6 @@ bool Sub::set_home(const Location& loc, bool lock)
// init inav and compass declination
if (!home_was_set) {
// record home is set
AP::logger().Write_Event(LogEvent::SET_HOME);
// log new home position which mission library will pull from ahrs
if (should_log(MASK_LOG_CMD)) {
AP_Mission::Mission_Command temp_cmd;

Loading…
Cancel
Save