From 320a0691870e4f9eea97bb49558a24a2cd742a6f Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Mon, 10 Mar 2008 15:53:16 +0100 Subject: * digital/io/src * correct a few bugs in the asserv module (thanks to ni): - return a positive value; - use the LSB part for the distance and X/Y positions; - update todo. --- digital/io/src/asserv.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'digital/io/src/asserv.h') diff --git a/digital/io/src/asserv.h b/digital/io/src/asserv.h index 1261c741..9b1af1ab 100644 --- a/digital/io/src/asserv.h +++ b/digital/io/src/asserv.h @@ -31,10 +31,11 @@ * board using a protocol over TWI communication. * @see trunk/digital/io/doc/proto_asserv.txt * @todo - * - protect code from sending a command when the previous one is not - * finished yet. - * - a consequence of previous item is that commands can failed. Maybe all - * return values should be 'uint8_t'. + * - the function to send a new command to the asserv board is protected from + * sending one when the previous is not finished yet. But the information is + * not raised to the upper layer (io). It can be a bad idea to give this + * information to the upper layer because it can be mis-interpreted or + * ignored. */ #include "common.h" -- cgit v1.2.3