From 9a86af027057e00eb1714a25769b7bb7894204fd Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 13 Feb 2011 21:26:14 +0000 Subject: [PATCH] realtime: break out new function movpos.c:ouposn_stable --- hostside/movpos.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hostside/movpos.c b/hostside/movpos.c index 4bbc7f7..02ed4b3 100644 --- a/hostside/movpos.c +++ b/hostside/movpos.c @@ -113,6 +113,10 @@ static void ouposn_moving(const MovPosChange *indep) { ouprintf("movpos %s position %s moving\n", move->i->pname, movpos_pname(move, indep->actual)); } +static void ouposn_stable(const Segment *move) { + ouprintf("movpos %s position %s stable\n", + move->i->pname, movpos_pname(move, move->movposcomb)); +} MovPosComb movposcomb_update_feature(MovPosComb startpoint, const MovFeatInfo *mfi, @@ -730,8 +734,7 @@ static void indep_indep_done(Indep *indep) { move->moving= 0; move->motion= 0; move->movposcomb= indep->target; - ouprintf("movpos %s position %s stable\n", - move->i->pname, movpos_pname(move, move->movposcomb)); + ouposn_stable(move); free(indep); } -- 2.30.2