From 8dac7ce374c8abe4de6defc88c60536ad0fc3bf1 Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Sun, 20 Apr 2008 19:55:14 +0200 Subject: * digital/io/src - fix parameter for get_samples_start by shifting the angle. --- digital/io/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/digital/io/src/main.c b/digital/io/src/main.c index 0ac2e9a2..7da061bb 100644 --- a/digital/io/src/main.c +++ b/digital/io/src/main.c @@ -213,7 +213,7 @@ proto_callback (uint8_t cmd, uint8_t size, uint8_t *args) * - 1b: the approach angle to face the distributor ; * - 1b: how many and where to put collected samples ; */ - getsamples_start (args[0], args[1]); + getsamples_start (args[0] << 8, args[1]); break; /* Asserv */ -- cgit v1.2.3