diff --git a/controllers/include/cm510_cfg.h b/controllers/include/cm510_cfg.h index c15aa91cacb52e87578b0cff12cf3112847c88eb..5154b967cffd8ede038d1c5d6c2272ad28c68a50 100644 --- a/controllers/include/cm510_cfg.h +++ b/controllers/include/cm510_cfg.h @@ -40,6 +40,6 @@ // expansion board configuration parameters #define EXP_BOARD_USE_LOOP 1 -#define EXP_BOARD_ID 192 +#define EXP_BOARD_ID 30 #endif diff --git a/dyn_devices/src/exp_board/exp_board.c b/dyn_devices/src/exp_board/exp_board.c index f4df041c21ed4b96d523966776fa3c6a79c795b0..71ddd298767dd535c434e18f1d820d0db70c66a3 100755 --- a/dyn_devices/src/exp_board/exp_board.c +++ b/dyn_devices/src/exp_board/exp_board.c @@ -26,7 +26,7 @@ #endif #ifndef EXP_BOARD_ID - #define EXP_BOARD_ID 192 + #define EXP_BOARD_ID 30 #endif uint8_t exp_board_id; diff --git a/motion/src/motion_manager.c b/motion/src/motion_manager.c index 7a116dcfb21bcdb14e228ece357b96d38d7aae85..9c8885641b0d424c02018076343bc1f64201920f 100644 --- a/motion/src/motion_manager.c +++ b/motion/src/motion_manager.c @@ -192,7 +192,6 @@ uint8_t manager_init(uint8_t num_servos) /* scan the bus for all available servos */ dyn_master_scan(&num,servo_ids); - manager_num_servos=0; for(i=0;i<num;i++) {