From 043a95244ff7c99929c71c398970a9c836f87848 Mon Sep 17 00:00:00 2001 From: schodet Date: Sun, 17 Apr 2005 12:38:48 +0000 Subject: Modif d'un angle taz. Il nous faut plus de port série. --- n/asserv/src/main.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'n/asserv/src/main.c') diff --git a/n/asserv/src/main.c b/n/asserv/src/main.c index 1513876..eec0699 100644 --- a/n/asserv/src/main.c +++ b/n/asserv/src/main.c @@ -195,11 +195,8 @@ main_loop (void) motor_print_sharps_cpt = motor_print_sharps; } /* Misc. */ - if ((motor_loop_cpt & 7) == 0) - { - if (rs232_poll ()) - proto_accept (rs232_getc ()); - } + while (rs232_poll ()) + proto_accept (rs232_getc ()); motor_loop_cpt++; } } -- cgit v1.2.3