2022-11-27 12:55 AM
Is there a way to "heal" or tidy up the layout of main.c? A tool or button that can rearrange User code and while code sections? Recently every save of the project's .ioc file results in a closing brace "}" getting deleted in the main.c file. Has the "User Code begin while/end while" to be outside of the while loop or inside? And begin user code 3/end user code 3 outside of the main.c body or inside?
2022-11-27 04:54 AM
2022-11-27 07:02 AM
Thanks. But your example would help better, if it only had one while loop. This way it is doubly confusing.
2022-11-27 07:28 AM
ok, so just make a new project in your IDE, name test_1 , make a clocktree without errors (maybe auto is doing it), generate code.
then you see a 100% new and empty code as yor reference. (needs about 5 mins. )
+
When your question is answered, please close this topic by choosing Select as Best.