Fixed small errors and spelling mistakes to enable compilation of modified
pwm module