Question
Generated code will not compile when using multiple I2C Blocks
When I use one I2C block the generated code will compile without errors. When I use 2 I2C blocks on different peripheral channels. My generated code will not compile error free. I am wondering if others run into similar issues, when using multiple I2C blocks in a simulink project.

These are the errors I get.

Blocks are called here

Inside one of the function calls

Inside the Write Complete function call