Commit 79b8f8f3 authored by Wenxi Xu's avatar Wenxi Xu
Browse files

修复小米电机不能超过2个电机的bug

parent 47da56de
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -253,7 +253,7 @@ static int get_motor_id(struct can_frame *frame)
	return -1;
}

static struct can_filter filters[CONFIG_CAN_COUNT];
static struct can_filter filters[MOTOR_COUNT];

static void mi_can_rx_handler(const struct device *can_dev, struct can_frame *frame,
			      void *user_data)