Closed gerrylenz closed 4 years ago
Interesting. It doesn't make sense that a delay has any effect on this.
I think the compilers optimization is wrong.
That might be. I will make some tests...
I have added this workaround to the code, which seems to solve the issue.
M8 will set pin high or low but M9 will not set it back again.
original code in coolant_control.c
change to
In block #ifdef ENABLE_M7 i write too delays im not sure is necessary. I think this is a bug in toolchain.
Regards Gerry