main.c

来自「基于ADI BLACKFIN的jbig压缩和解压缩程序」· C语言 代码 · 共 55 行

C
55
字号
#include <stdio.h>


#include "my_config.h"

#include "jsp_kernel.h"

#include "timer.h"

#include "myset.h"

#include "task.h"

#include "cpu_config.h"

#include "mailbox.h"

#include "eventflag.h"

#include "semaphore.h"

#include "time_event.h"










extern void ImageInput(void);


extern void JBigTest(void);



void main(void)
{
	cre_tsk(&JBigTest, 2048, (void*)JBIG_STACK, 0, 15, 2);
	
	cre_tsk(&ImageInput, 2048, (void*)IMAGE_INPUT_STACK, 0, 15, 2);
		
	act_tsk(1);
	
	act_tsk(2);
	
	while(1)
	{
		
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?