From d34ca0e6ea8bc44d67752a726749d58246d0fd1d Mon Sep 17 00:00:00 2001 From: Jason Short Date: Fri, 13 Jul 2012 11:51:21 -0700 Subject: [PATCH] Arducopter - commands: Add home logging --- ArduCopter/commands.pde | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ArduCopter/commands.pde b/ArduCopter/commands.pde index 464353ecd1..bac23ad636 100644 --- a/ArduCopter/commands.pde +++ b/ArduCopter/commands.pde @@ -198,7 +198,10 @@ static void init_home() // ------------------- // no need to save this to EPROM set_cmd_with_index(home, 0); - print_wp(&home, 0); + //print_wp(&home, 0); + + if (g.log_bitmask & MASK_LOG_CMD) + Log_Write_Cmd(0, &home); // Save prev loc this makes the calcs look better before commands are loaded prev_WP = home;