void scan_module_init()
{
	scan_init();

	struct module_stru temp;
	temp.module_head = MOD_SCAN_HEAD;
	temp.count_tasks = 1;
	temp.dispatch = scan_dispatch;
	temp.taks_init[0] = scan_task_init;
	module_addtolist(temp, MOD_SCAN_HEAD);
}
void
motor_module_init()
{
	motor_init();

	struct module_stru temp;
	temp.module_head = MOD_MOTOR_HEAD;
	temp.count_tasks = 1;
	temp.dispatch = motor_dispatch;
	temp.taks_init[0] = motor_task_init;
	module_addtolist(temp, MOD_MOTOR_HEAD);
}