为什么我整合照相机拍照程序和gsm程序,移植之后的程序,单步调试一直进不去下面的程序,只能够显示白屏,摄像头始终未开启?
while(1)
{
if( Ov7725_vsync == 2 )
{
FIFO_PREPARE;
ImagDisp();
Ov7725_vsync = 0;
}
if( screen_flag == 1 )
{
sprintf((char *)&file_name,"/camera%d",num++);
Lcd_GramScan( 3 );
Screen_shot(0,0,320,240,file_name);
LED2_ON;
screen_flag = 0;
} |