This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

简单问题求解答,if语句明明条件成立,就是不执行后面的break



 while(1)
        {

            //CACHE_invL2((void *)&softresetFlag, sizeof(softresetFlag), CACHE_WAIT);
            if(softresetFlag == 1)
                break;

            if(FpgaCount >= 5)
            {
                FpgaCount = 0;
                unsigned int temp_hl;
                for(temp_hl=0; temp_hl < 2; temp_hl++)
                {

                  //代码

               }

         }

}
break语句就是不执行