[retired] [WIP] 20mm single sided & 17mm double-sided ?-amp linear driver - surprisingly good!

I also had trouble understanding the code you quoted pilotdog68. I posted about it in post #769 over here: STAR Firmware by JonnyC - Source Code and Explanation

EDIT: so if you go to that post and read the code comments in the example code I posted it should be more easy to understand what that very strangely formatted section of code does. The intention is to allow DUAL_PWM_START to force MOON_MODE on. We need to do that since we can’t turn PWM on with the star because we’re using that star for the secondary PWM output! BUT if someone has commented out MOON_MODE it still won’t get turned on. That’s the intention of that convoluted thing.

In the end, you still just make the same change.