From 1901265a3ea59267f92fe2e923184fce3d689f72 Mon Sep 17 00:00:00 2001 From: Nicolas Haller Date: Sat, 9 May 2009 00:10:02 +0200 Subject: * digital/io/src: - First version of init FSM --- digital/io/src/asserv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'digital/io/src/asserv.c') diff --git a/digital/io/src/asserv.c b/digital/io/src/asserv.c index c9594d3d..bc973ec4 100644 --- a/digital/io/src/asserv.c +++ b/digital/io/src/asserv.c @@ -453,10 +453,10 @@ asserv_goto_xya (uint32_t x, uint32_t y, int16_t a) /* Go to the wall (moving backward). */ void -asserv_go_to_the_wall (void) +asserv_go_to_the_wall (uint8_t backward) { /* Put direction as parameters */ - asserv_twi_buffer_param[0] = 1; + asserv_twi_buffer_param[0] = backward; /* Send the go the wall command to the asserv board */ asserv_twi_send_command ('f', 1); } -- cgit v1.2.3