Other Parts Discussed in Thread: SFRA, CONTROLSUITE, C2000WARE
Hi C2000 Team,
My customer has started evaluating the SFRA tool that comes with controlSuite. In SciCommsGui_32bit.cpp file, occasionally the compiler will flag and error on a variable being assigned to itself (see below).
if (SciaRegs.SCICTL2.bit.TXRDY == 1) { SciaRegs.SCITXBUF = dataOut16 & 0x000000FF; SendTaskPtr = 2; } else { TaskDoneFlag = TaskDoneFlag; break; }
Can you give me any insight as to why the variable is being set to itself? If this needs to be done, then how do I prevent compiler errors in the future?
Thanks!
Barend