summaryrefslogtreecommitdiff
path: root/n/asserv/src/main.c
diff options
context:
space:
mode:
authorschodet2005-04-17 12:38:48 +0000
committerschodet2005-04-17 12:38:48 +0000
commit043a95244ff7c99929c71c398970a9c836f87848 (patch)
tree61b1af630c06cf87ee77866ae9d96f97066c53fb /n/asserv/src/main.c
parent89151bed20a5d9073bb304057041b2453eec16bb (diff)
Modif d'un angle taz.
Il nous faut plus de port série.
Diffstat (limited to 'n/asserv/src/main.c')
-rw-r--r--n/asserv/src/main.c7
1 files changed, 2 insertions, 5 deletions
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++;
}
}