Fix missing #endif problem in pwm_common.h