diff --git a/ArduCopter/commands_logic.pde b/ArduCopter/commands_logic.pde index ccf37bee2b..58710bb956 100644 --- a/ArduCopter/commands_logic.pde +++ b/ArduCopter/commands_logic.pde @@ -701,7 +701,7 @@ static bool verify_circle(const AP_Mission::Mission_Command& cmd) } // check if we have completed circling - return fabsf(circle_nav.get_angle_total()/(2*M_PI_F)) >= LOWBYTE(cmd.p1); + return fabsf(circle_nav.get_angle_total()/M_2PI_F) >= LOWBYTE(cmd.p1); } // externs to remove compiler warning