[TI DLP Buglist]data type error in illum_EnableIllumination function
787 단어 function
After check it, I find my code is in a infinite loop, why it happen?
Just because there is an data type error in the counter, just look at code:
uint08 TimeoutCount = 0;
while ( (!SEQ_GetPhaseLockedToColorWheelIndex()) && TimeoutCount < 1000)
{
TimeoutCount++;
TMR_Delay(300);
so when the sequency phase locked is failed, then it will be always a infinite loop.
how to fix it? just change the variable 'TimeoutCount' from uint08 to uint16.
and i also suggest you print a error message if TimtoutCount is bigger or equal to 1000.
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
콜백 함수를 Angular 하위 구성 요소에 전달이 예제는 구성 요소에 함수를 전달하는 것과 관련하여 최근에 직면한 문제를 다룰 것입니다. 국가 목록을 제공하는 콤보 상자 또는 테이블 구성 요소. 지금까지 모든 것이 구성 요소 자체에 캡슐화되었으며 백엔드에 대한 ...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.