From: zer0 Date: Sun, 2 May 2010 22:40:33 +0000 (+0200) Subject: fix debug trajectory X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=98771f58df62cfce41b04d866a91752fcda12c80;p=aversive.git fix debug trajectory --- diff --git a/modules/devices/robot/trajectory_manager/trajectory_manager_core.c b/modules/devices/robot/trajectory_manager/trajectory_manager_core.c index 8ea3bd8..e4f2df6 100644 --- a/modules/devices/robot/trajectory_manager/trajectory_manager_core.c +++ b/modules/devices/robot/trajectory_manager/trajectory_manager_core.c @@ -1055,7 +1055,8 @@ int8_t trajectory_clitoid(struct trajectory *traj, if (calc_clitoid(traj, x, y, a_rad, alpha_deg, beta_deg, R_mm, Vd, traj->a_acc, d_inter_mm, &Aa, &Va, &remain) < 0) { - DEBUG(E_TRAJECTORY, "%s() calc_clitoid returned an error"); + DEBUG(E_TRAJECTORY, "%s() calc_clitoid returned an error", + __FUNCTION__); return -1; }