From a0da87d8b2b727aff84361760be871e6e195af01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergi=20Hern=C3=A1ndez?= <shernand@iri.upc.edu> Date: Wed, 17 Feb 2016 20:50:51 +0000 Subject: [PATCH] Solved a bug in the computation of the speed rate in the binary motion file parser. --- src/motion_manager.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/motion_manager.c b/src/motion_manager.c index 2ea42c2..d67dbd8 100644 --- a/src/motion_manager.c +++ b/src/motion_manager.c @@ -2,7 +2,6 @@ #include "motion_manager.h" #include "dyn_servos.h" #include "ram.h" -#include "gpio.h" #include "action.h" #include "adc_dma.h" #include "bioloid_gyro.h" @@ -185,10 +184,6 @@ void manager_init(uint16_t period_us) // detect the servos connected dyn_master_scan(&bioloid_dyn_master_servos,&num,servo_ids); ram_data[BIOLOID_MM_NUM_SERVOS]=num; - if(num>0) - gpio_set_led(TXD_LED); - if(num==18) - gpio_set_led(RXD_LED); manager_num_servos=0; for(i=0;i<MANAGER_MAX_NUM_SERVOS;i++) { -- GitLab