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.

Missing "break;" For the EtherCAT Switch Statements

Other Parts Discussed in Thread: AM3359

Folks,

I was wondering why I keep finding missing breaks for some switch statements in the EtherCAT code. Is the goal to make sure the program goes through every single case in one cycle?

Here is a sample code from the EtherCAT code for the ICE AM3359 (this is the latest SDK). The higlighted lines are where the case ends, and where I get the warnings: