error: expected ';', ',' or ')' before '&' token

In custom_types.h, in the Channel struct, you have a variable of type PWM. I do believe that the type of that variable should be "struct PWM".